Type Alias GetOutput

pub type GetOutput = SpecialEq<Arc<dyn FunctionOutputField>>;
Available on crate feature lazy only.

Aliased Type§

struct GetOutput(/* private fields */);

Implementations

§

impl SpecialEq<Arc<dyn FunctionOutputField>>

pub fn same_type() -> SpecialEq<Arc<dyn FunctionOutputField>>

pub fn first() -> SpecialEq<Arc<dyn FunctionOutputField>>

pub fn from_type(dt: DataType) -> SpecialEq<Arc<dyn FunctionOutputField>>

pub fn map_field<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>
where F: 'static + Fn(&Field) -> Result<Field, PolarsError> + Send + Sync,

pub fn map_fields<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>
where F: 'static + Fn(&[Field]) -> Result<Field, PolarsError> + Send + Sync,

pub fn map_dtype<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>
where F: 'static + Fn(&DataType) -> Result<DataType, PolarsError> + Send + Sync,

pub fn float_type() -> SpecialEq<Arc<dyn FunctionOutputField>>

pub fn super_type() -> SpecialEq<Arc<dyn FunctionOutputField>>

pub fn map_dtypes<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>
where F: 'static + Fn(&[&DataType]) -> Result<DataType, PolarsError> + Send + Sync,

§

impl<T> SpecialEq<T>

pub fn new(val: T) -> SpecialEq<T>

Trait Implementations

§

impl<T> Clone for SpecialEq<T>
where T: Clone,

§

fn clone(&self) -> SpecialEq<T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<T> Debug for SpecialEq<T>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for SpecialEq<Arc<dyn FunctionOutputField>>

§

fn default() -> SpecialEq<Arc<dyn FunctionOutputField>>

Returns the “default value” for a type. Read more
§

impl<T> Deref for SpecialEq<T>

§

type Target = T

The resulting type after dereferencing.
§

fn deref(&self) -> &<SpecialEq<T> as Deref>::Target

Dereferences the value.
§

impl<'a, T> Deserialize<'a> for SpecialEq<Arc<T>>
where T: Deserialize<'a>,

Available on crate feature serde only.
§

fn deserialize<D>( deserializer: D, ) -> Result<SpecialEq<Arc<T>>, <D as Deserializer<'a>>::Error>
where D: Deserializer<'a>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn FunctionOutputField>>

Available on crate feature serde only.
§

fn deserialize<D>( deserializer: D, ) -> Result<SpecialEq<Arc<dyn FunctionOutputField>>, <D as Deserializer<'a>>::Error>
where D: Deserializer<'a>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<T> PartialEq for SpecialEq<Arc<T>>
where T: ?Sized,

§

fn eq(&self, other: &SpecialEq<Arc<T>>) -> 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.
§

impl<T> Serialize for SpecialEq<Arc<T>>
where T: Serialize,

Available on crate feature serde only.
§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Serialize for SpecialEq<Arc<dyn FunctionOutputField>>

Available on crate feature serde only.
§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<T> Eq for SpecialEq<Arc<T>>