pub enum GenericMarker {}Expand description
Marker for IDs whose kind is not known or varies (for example audit log target IDs).
Usually used through the GenericId alias.
Trait Implementations§
Source§impl Clone for GenericMarker
impl Clone for GenericMarker
impl Copy for GenericMarker
Source§impl Debug for GenericMarker
impl Debug for GenericMarker
impl Eq for GenericMarker
Source§impl Hash for GenericMarker
impl Hash for GenericMarker
Source§impl Ord for GenericMarker
impl Ord for GenericMarker
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 PartialEq for GenericMarker
impl PartialEq for GenericMarker
Source§impl PartialOrd for GenericMarker
impl PartialOrd for GenericMarker
impl StructuralPartialEq for GenericMarker
Auto Trait Implementations§
impl Forget for GenericMarker
impl Freeze for GenericMarker
impl Move for GenericMarker
impl RefUnwindSafe for GenericMarker
impl Send for GenericMarker
impl Sync for GenericMarker
impl Unpin for GenericMarker
impl UnsafeUnpin for GenericMarker
impl UnwindSafe for GenericMarker
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