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