pub struct FieldId(pub usize);
Expand description
The id of a field inside a variant.
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl Ord for FieldId
impl Ord for FieldId
source§impl PartialOrd for FieldId
impl PartialOrd for FieldId
impl Copy for FieldId
impl Eq for FieldId
impl StructuralPartialEq for FieldId
Auto Trait Implementations§
impl Freeze for FieldId
impl RefUnwindSafe for FieldId
impl Send for FieldId
impl Sync for FieldId
impl Unpin for FieldId
impl UnwindSafe for FieldId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)