pub struct FieldIndex(pub usize);Expand description
Index to a field in a record
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for FieldIndex
impl Clone for FieldIndex
Source§fn clone(&self) -> FieldIndex
fn clone(&self) -> FieldIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldIndex
impl Debug for FieldIndex
Source§impl Ord for FieldIndex
impl Ord for FieldIndex
Source§fn cmp(&self, other: &FieldIndex) -> Ordering
fn cmp(&self, other: &FieldIndex) -> Ordering
1.21.0 · 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 PartialEq for FieldIndex
impl PartialEq for FieldIndex
Source§impl PartialOrd for FieldIndex
impl PartialOrd for FieldIndex
impl Copy for FieldIndex
impl Eq for FieldIndex
impl StructuralPartialEq for FieldIndex
Auto Trait Implementations§
impl Freeze for FieldIndex
impl RefUnwindSafe for FieldIndex
impl Send for FieldIndex
impl Sync for FieldIndex
impl Unpin for FieldIndex
impl UnwindSafe for FieldIndex
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