#[repr(transparent)]pub struct ChainHandle(pub u32);Expand description
Handle to one chain row.
A #[repr(transparent)] u32 dense row index, so it crosses an FFI or
wasm-bindgen boundary as a plain integer. It is meaningful only for the
TopologyColumns snapshot it came from (or any
other snapshot of the same Arc<AtomicHierarchy>).
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for ChainHandle
impl Clone for ChainHandle
Source§fn clone(&self) -> ChainHandle
fn clone(&self) -> ChainHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChainHandle
Source§impl Debug for ChainHandle
impl Debug for ChainHandle
impl Eq for ChainHandle
Source§impl From<ChainHandle> for u32
impl From<ChainHandle> for u32
Source§fn from(handle: ChainHandle) -> u32
fn from(handle: ChainHandle) -> u32
Converts to this type from the input type.
Source§impl Hash for ChainHandle
impl Hash for ChainHandle
Source§impl Ord for ChainHandle
impl Ord for ChainHandle
Source§fn cmp(&self, other: &ChainHandle) -> Ordering
fn cmp(&self, other: &ChainHandle) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChainHandle
impl PartialEq for ChainHandle
Source§impl PartialOrd for ChainHandle
impl PartialOrd for ChainHandle
impl StructuralPartialEq for ChainHandle
Auto Trait Implementations§
impl Freeze for ChainHandle
impl RefUnwindSafe for ChainHandle
impl Send for ChainHandle
impl Sync for ChainHandle
impl Unpin for ChainHandle
impl UnsafeUnpin for ChainHandle
impl UnwindSafe for ChainHandle
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 more