pub struct CommandHeaderMut<S: MutStorage> { /* private fields */ }Implementations§
Source§impl<S: MutStorage> CommandHeaderMut<S>
impl<S: MutStorage> CommandHeaderMut<S>
pub fn new(storage: S) -> Self
pub fn into_writer(self) -> CommandHeaderWriter<S, UncheckedState>
Sourcepub fn as_view(&self) -> CommandHeader<S::Sliced<'_>, UncheckedState>
pub fn as_view(&self) -> CommandHeader<S::Sliced<'_>, UncheckedState>
Borrows the mutable view as an immutable view in UncheckedState.
pub fn opcode( &mut self, ) -> EnumViewMut<OpCode, UInt<16, LittleEndian, S::SlicedMut<'_>, UncheckedState>>
pub fn opcode_bits(&mut self) -> OpCodeBitsMut<S::SlicedMut<'_>>
pub fn parameter_total_size( &mut self, ) -> UInt<8, LittleEndian, S::SlicedMut<'_>, UncheckedState>
Trait Implementations§
Source§impl<S: MutStorage> IntoWriter for CommandHeaderMut<S>
impl<S: MutStorage> IntoWriter for CommandHeaderMut<S>
type Writer = CommandHeaderWriter<S>
fn into_writer(self) -> Self::Writer
Source§impl<S: MutStorage> View for CommandHeaderMut<S>
impl<S: MutStorage> View for CommandHeaderMut<S>
Auto Trait Implementations§
impl<S> Freeze for CommandHeaderMut<S>where
S: Freeze,
impl<S> RefUnwindSafe for CommandHeaderMut<S>where
S: RefUnwindSafe,
impl<S> Send for CommandHeaderMut<S>where
S: Send,
impl<S> Sync for CommandHeaderMut<S>where
S: Sync,
impl<S> Unpin for CommandHeaderMut<S>where
S: Unpin,
impl<S> UnsafeUnpin for CommandHeaderMut<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for CommandHeaderMut<S>where
S: UnwindSafe,
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