polars::chunked_array::object

Trait PolarsObjectSafe

Source
pub trait PolarsObjectSafe:
    Any
    + Debug
    + Send
    + Sync
    + Display {
    // Required methods
    fn type_name(&self) -> &'static str;
    fn as_any(&self) -> &(dyn Any + 'static);
    fn to_boxed(&self) -> Box<dyn PolarsObjectSafe>;
    fn equal(&self, other: &(dyn PolarsObjectSafe + 'static)) -> bool;
}
Available on crate feature object only.
Expand description

Trimmed down object safe polars object

Required Methods§

Source

fn type_name(&self) -> &'static str

Source

fn as_any(&self) -> &(dyn Any + 'static)

Source

fn to_boxed(&self) -> Box<dyn PolarsObjectSafe>

Source

fn equal(&self, other: &(dyn PolarsObjectSafe + 'static)) -> bool

Trait Implementations§

Source§

impl PartialEq for &(dyn PolarsObjectSafe + 'static)

Source§

fn eq(&self, other: &&(dyn PolarsObjectSafe + 'static)) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§

Source§

impl<T> PolarsObjectSafe for T
where T: PolarsObject,