Struct polars_lazy::dsl::python_udf::PythonFunction
pub struct PythonFunction(pub Py<PyAny>);
Available on crate feature
python
only.Tuple Fields§
§0: Py<PyAny>
Trait Implementations§
§impl Clone for PythonFunction
impl Clone for PythonFunction
§fn clone(&self) -> PythonFunction
fn clone(&self) -> PythonFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl DataFrameUdf for PythonFunction
impl DataFrameUdf for PythonFunction
§impl Debug for PythonFunction
impl Debug for PythonFunction
§impl<'a> Deserialize<'a> for PythonFunction
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for PythonFunction
Available on crate feature
serde
only.§fn deserialize<D>(
deserializer: D
) -> Result<PythonFunction, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D
) -> Result<PythonFunction, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<Py<PyAny>> for PythonFunction
impl From<Py<PyAny>> for PythonFunction
§fn from(value: Py<PyAny>) -> PythonFunction
fn from(value: Py<PyAny>) -> PythonFunction
Converts to this type from the input type.
§impl PartialEq for PythonFunction
impl PartialEq for PythonFunction
§fn eq(&self, other: &PythonFunction) -> bool
fn eq(&self, other: &PythonFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for PythonFunction
Available on crate feature serde
only.
impl Serialize for PythonFunction
Available on crate feature
serde
only.§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
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 Eq for PythonFunction
Auto Trait Implementations§
impl Freeze for PythonFunction
impl !RefUnwindSafe for PythonFunction
impl Send for PythonFunction
impl Sync for PythonFunction
impl Unpin for PythonFunction
impl UnwindSafe for PythonFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more