#[repr(u16)]pub enum BlockKind {
Root = 1,
Normal = 2,
Merge = 3,
Repair = 4,
Import = 5,
}Expand description
Block kind.
Variants§
Root = 1
Root block.
Normal = 2
Normal block.
Merge = 3
Merge block.
Repair = 4
Repair block.
Import = 5
Import block.
Implementations§
Trait Implementations§
impl Copy for BlockKind
impl Eq for BlockKind
Source§impl Ord for BlockKind
impl Ord for BlockKind
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 BlockKind
impl PartialOrd for BlockKind
impl StructuralPartialEq for BlockKind
Auto Trait Implementations§
impl Freeze for BlockKind
impl RefUnwindSafe for BlockKind
impl Send for BlockKind
impl Sync for BlockKind
impl Unpin for BlockKind
impl UnsafeUnpin for BlockKind
impl UnwindSafe for BlockKind
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