pub enum PyGroupKey {
NodeIndex(PyNodeIndex),
Value(PyGraphRecordValue),
OptionalValue(Option<PyGraphRecordValue>),
TupleKey((Box<Self>, Box<Self>)),
}Variants§
NodeIndex(PyNodeIndex)
Value(PyGraphRecordValue)
OptionalValue(Option<PyGraphRecordValue>)
TupleKey((Box<Self>, Box<Self>))
Trait Implementations§
Source§impl Clone for PyGroupKey
impl Clone for PyGroupKey
Source§fn clone(&self) -> PyGroupKey
fn clone(&self) -> PyGroupKey
Returns a duplicate 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 moreSource§impl Debug for PyGroupKey
impl Debug for PyGroupKey
Source§impl From<GroupKey<'_>> for PyGroupKey
impl From<GroupKey<'_>> for PyGroupKey
Source§impl<'py> IntoPyObject<'py> for PyGroupKey
impl<'py> IntoPyObject<'py> for PyGroupKey
Source§type Output = Bound<'py, <PyGroupKey as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PyGroupKey as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Auto Trait Implementations§
impl Freeze for PyGroupKey
impl RefUnwindSafe for PyGroupKey
impl Send for PyGroupKey
impl Sync for PyGroupKey
impl Unpin for PyGroupKey
impl UnsafeUnpin for PyGroupKey
impl UnwindSafe for PyGroupKey
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<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<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.