#[repr(transparent)]pub struct ObjectValue {
pub inner: Py<PyAny>,
}Fields§
§inner: Py<PyAny>Trait Implementations§
Source§impl Clone for ObjectValue
impl Clone for ObjectValue
Source§impl Debug for ObjectValue
impl Debug for ObjectValue
Source§impl Default for ObjectValue
impl Default for ObjectValue
Source§impl Display for ObjectValue
impl Display for ObjectValue
Source§impl From<&(dyn PolarsObjectSafe + 'static)> for &ObjectValue
Available on crate feature object only.§Safety
The caller is responsible for checking that val is Object otherwise UB
impl From<&(dyn PolarsObjectSafe + 'static)> for &ObjectValue
Available on crate feature
object only.§Safety
The caller is responsible for checking that val is Object otherwise UB
Source§fn from(val: &dyn PolarsObjectSafe) -> Self
fn from(val: &dyn PolarsObjectSafe) -> Self
Converts to this type from the input type.
Source§impl<'py> FromPyObject<'py> for ObjectValue
impl<'py> FromPyObject<'py> for ObjectValue
Source§impl Hash for ObjectValue
impl Hash for ObjectValue
Source§impl<'a, 'py> IntoPyObject<'py> for &'a ObjectValue
impl<'a, 'py> IntoPyObject<'py> for &'a ObjectValue
Source§type Output = Borrowed<'a, 'py, <&'a ObjectValue as IntoPyObject<'py>>::Target>
type Output = Borrowed<'a, 'py, <&'a ObjectValue as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.
Source§impl PartialEq for ObjectValue
impl PartialEq for ObjectValue
Source§impl PolarsObject for ObjectValue
Available on crate feature object only.
impl PolarsObject for ObjectValue
Available on crate feature
object only.Source§impl TotalEq for ObjectValue
impl TotalEq for ObjectValue
Source§impl TotalHash for ObjectValue
impl TotalHash for ObjectValue
impl Eq for ObjectValue
Auto Trait Implementations§
impl Freeze for ObjectValue
impl !RefUnwindSafe for ObjectValue
impl Send for ObjectValue
impl Sync for ObjectValue
impl Unpin for ObjectValue
impl UnwindSafe for ObjectValue
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§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<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolarsObjectSafe for Twhere
T: PolarsObject,
impl<T> PolarsObjectSafe for Twhere
T: PolarsObject,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read moreSource§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.