Trait polars::chunked_array::object::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§
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
Trait Implementations§
source§impl PartialEq for &(dyn PolarsObjectSafe + 'static)
impl PartialEq for &(dyn PolarsObjectSafe + 'static)
source§fn eq(&self, other: &&(dyn PolarsObjectSafe + 'static)) -> bool
fn eq(&self, other: &&(dyn PolarsObjectSafe + 'static)) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.