pub struct AnchorId(/* private fields */);Expand description
Dense frozen anchor-record identifier.
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for AnchorId
impl<'__de, __Context> BorrowDecode<'__de, __Context> for AnchorId
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
impl Copy for AnchorId
impl Eq for AnchorId
Source§impl Ord for AnchorId
impl Ord for AnchorId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AnchorId
impl PartialOrd for AnchorId
impl StructuralPartialEq for AnchorId
Auto Trait Implementations§
impl Freeze for AnchorId
impl RefUnwindSafe for AnchorId
impl Send for AnchorId
impl Sync for AnchorId
impl Unpin for AnchorId
impl UnsafeUnpin for AnchorId
impl UnwindSafe for AnchorId
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