pub enum Unit {
Byte,
Bit,
}Expand description
Whether a range’s two ends count bytes or bits.
BITCOUNT and BITPOS both take an optional BYTE or BIT word after
their two indexes, and both default to BYTE. The word is only allowed once
both indexes are there: BITPOS k 0 5 BIT is not a bit ranged search from
bit five, it is an error, because BIT is read as the end index.
Variants§
Trait Implementations§
impl Copy for Unit
impl Eq for Unit
impl StructuralPartialEq for Unit
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnsafeUnpin for Unit
impl UnwindSafe for Unit
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