pub enum FieldCount {
One,
Optional,
Many,
}Expand description
How many items a field holds in one node. The variants are ordered from the fewest cases to the most, so that the larger of two counts covers both.
Variants§
Trait Implementations§
Source§impl Clone for FieldCount
impl Clone for FieldCount
impl Copy for FieldCount
Source§impl Debug for FieldCount
impl Debug for FieldCount
impl Eq for FieldCount
Source§impl Hash for FieldCount
impl Hash for FieldCount
Source§impl Ord for FieldCount
impl Ord for FieldCount
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 FieldCount
impl PartialEq for FieldCount
Source§impl PartialOrd for FieldCount
impl PartialOrd for FieldCount
impl StructuralPartialEq for FieldCount
Auto Trait Implementations§
impl Forget for FieldCount
impl Freeze for FieldCount
impl Move for FieldCount
impl RefUnwindSafe for FieldCount
impl Send for FieldCount
impl Sync for FieldCount
impl Unpin for FieldCount
impl UnsafeUnpin for FieldCount
impl UnwindSafe for FieldCount
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