pub struct LengthField(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl LengthField
impl LengthField
Trait Implementations§
Source§impl<T> BitRange<T> for LengthFieldwhere
u8: BitRange<T>,
impl<T> BitRange<T> for LengthFieldwhere
u8: BitRange<T>,
Source§impl<T> BitRangeMut<T> for LengthFieldwhere
u8: BitRangeMut<T>,
impl<T> BitRangeMut<T> for LengthFieldwhere
u8: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Auto Trait Implementations§
impl Freeze for LengthField
impl RefUnwindSafe for LengthField
impl Send for LengthField
impl Sync for LengthField
impl Unpin for LengthField
impl UnwindSafe for LengthField
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more