Struct twizzler_object::ObjID
source · #[repr(transparent)]pub struct ObjID(/* private fields */);
Expand description
An object ID, represented as a transparent wrapper type. Any value where the upper 64 bits are zero is invalid.
Implementations§
Trait Implementations§
source§impl Ord for ObjID
impl Ord for ObjID
source§impl PartialEq<ObjID> for ObjID
impl PartialEq<ObjID> for ObjID
source§impl PartialOrd<ObjID> for ObjID
impl PartialOrd<ObjID> for ObjID
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ObjID
impl Eq for ObjID
impl StructuralEq for ObjID
impl StructuralPartialEq for ObjID
Auto Trait Implementations§
impl ObjSafe for ObjID
impl RefUnwindSafe for ObjID
impl Send for ObjID
impl Sync for ObjID
impl Unpin for ObjID
impl UnwindSafe for ObjID
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.