pub struct SubHeader { /* private fields */ }Trait Implementations§
Source§impl PartialOrd for SubHeader
impl PartialOrd for SubHeader
impl Copy for SubHeader
impl StructuralPartialEq for SubHeader
Auto Trait Implementations§
impl Freeze for SubHeader
impl RefUnwindSafe for SubHeader
impl Send for SubHeader
impl Sync for SubHeader
impl Unpin for SubHeader
impl UnwindSafe for SubHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> ReadBinary for Twhere
T: ReadUnchecked,
impl<T> ReadBinary for Twhere
T: ReadUnchecked,
type HostType<'a> = <T as ReadUnchecked>::HostType
fn read<'a>( ctxt: &mut ReadCtxt<'a>, ) -> Result<<T as ReadBinary>::HostType<'a>, ParseError>
Source§impl<T> ReadBinaryDep for Twhere
T: ReadBinary,
impl<T> ReadBinaryDep for Twhere
T: ReadBinary,
type Args<'a> = ()
type HostType<'a> = <T as ReadBinary>::HostType<'a>
fn read_dep<'a>( ctxt: &mut ReadCtxt<'a>, _: <T as ReadBinaryDep>::Args<'_>, ) -> Result<<T as ReadBinaryDep>::HostType<'a>, ParseError>
Source§impl<T> ReadFixedSizeDep for Twhere
T: ReadUnchecked,
impl<T> ReadFixedSizeDep for Twhere
T: ReadUnchecked,
Source§impl<T> ReadUnchecked for Twhere
T: ReadFrom,
impl<T> ReadUnchecked for Twhere
T: ReadFrom,
Source§const SIZE: usize = const SIZE: usize = <T::ReadType>::SIZE;
const SIZE: usize = const SIZE: usize = <T::ReadType>::SIZE;
The number of bytes consumed by
read_unchecked.type HostType = T
Source§unsafe fn read_unchecked<'a>(
ctxt: &mut ReadCtxt<'a>,
) -> <T as ReadUnchecked>::HostType
unsafe fn read_unchecked<'a>( ctxt: &mut ReadCtxt<'a>, ) -> <T as ReadUnchecked>::HostType
Must read exactly
SIZE bytes.
Unsafe as it avoids prohibitively expensive per-byte bounds checking.