pub struct BitSlice {
pub off: u32,
pub len: u32,
}Expand description
A run of required-flag words in the required_bits blob: off is the first word, len
the field count.
Fields§
§off: u32Start index into the owning blob.
len: u32Element or field count.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for BitSlice
impl<'__de, __Context> BorrowDecode<'__de, __Context> for BitSlice
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
impl Copy for BitSlice
impl Eq for BitSlice
Source§impl Ord for BitSlice
impl Ord for BitSlice
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 PartialOrd for BitSlice
impl PartialOrd for BitSlice
impl StructuralPartialEq for BitSlice
Auto Trait Implementations§
impl Freeze for BitSlice
impl RefUnwindSafe for BitSlice
impl Send for BitSlice
impl Sync for BitSlice
impl Unpin for BitSlice
impl UnsafeUnpin for BitSlice
impl UnwindSafe for BitSlice
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