#[repr(transparent)]pub struct ResidueHandle(pub u32);Expand description
Handle to one residue 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 ResidueHandle
impl Clone for ResidueHandle
Source§fn clone(&self) -> ResidueHandle
fn clone(&self) -> ResidueHandle
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 ResidueHandle
Source§impl Debug for ResidueHandle
impl Debug for ResidueHandle
impl Eq for ResidueHandle
Source§impl From<ResidueHandle> for u32
impl From<ResidueHandle> for u32
Source§fn from(handle: ResidueHandle) -> u32
fn from(handle: ResidueHandle) -> u32
Converts to this type from the input type.
Source§impl Hash for ResidueHandle
impl Hash for ResidueHandle
Source§impl Ord for ResidueHandle
impl Ord for ResidueHandle
Source§fn cmp(&self, other: &ResidueHandle) -> Ordering
fn cmp(&self, other: &ResidueHandle) -> 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 ResidueHandle
impl PartialEq for ResidueHandle
Source§impl PartialOrd for ResidueHandle
impl PartialOrd for ResidueHandle
impl StructuralPartialEq for ResidueHandle
Auto Trait Implementations§
impl Freeze for ResidueHandle
impl RefUnwindSafe for ResidueHandle
impl Send for ResidueHandle
impl Sync for ResidueHandle
impl Unpin for ResidueHandle
impl UnsafeUnpin for ResidueHandle
impl UnwindSafe for ResidueHandle
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