pub struct EnumIndex(/* private fields */);Expand description
Index of an EnumDescriptor within its owning pool.
Trait Implementations§
Source§impl Ord for EnumIndex
impl Ord for EnumIndex
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 PartialOrd for EnumIndex
impl PartialOrd for EnumIndex
impl Copy for EnumIndex
impl Eq for EnumIndex
impl StructuralPartialEq for EnumIndex
Auto Trait Implementations§
impl Freeze for EnumIndex
impl RefUnwindSafe for EnumIndex
impl Send for EnumIndex
impl Sync for EnumIndex
impl Unpin for EnumIndex
impl UnsafeUnpin for EnumIndex
impl UnwindSafe for EnumIndex
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