pub struct PythonFunction(pub PyObject);
Available on crate feature
python
only.Tuple Fields§
§0: PyObject
Trait Implementations§
Source§impl Clone for PythonFunction
impl Clone for PythonFunction
Source§impl Debug for PythonFunction
impl Debug for PythonFunction
Source§impl<'a> Deserialize<'a> for PythonFunction
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for PythonFunction
Available on crate feature
serde
only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Py<PyAny>> for PythonFunction
impl From<Py<PyAny>> for PythonFunction
Source§impl PartialEq for PythonFunction
impl PartialEq for PythonFunction
Source§impl Serialize for PythonFunction
Available on crate feature serde
only.
impl Serialize for PythonFunction
Available on crate feature
serde
only.Source§impl TrySerializeToBytes for PythonFunction
Available on crate feature serde
only.
impl TrySerializeToBytes for PythonFunction
Available on crate feature
serde
only.fn try_serialize_to_bytes(&self) -> PolarsResult<Vec<u8>>
fn try_deserialize_bytes(bytes: &[u8]) -> PolarsResult<Self>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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