pub struct PushBuiltinNfgenmsg { /* private fields */ }Implementations§
Source§impl PushBuiltinNfgenmsg
impl PushBuiltinNfgenmsg
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn cmd(&self) -> u8
pub fn set_cmd(&mut self, value: u8)
pub fn version(&self) -> u8
pub fn set_version(&mut self, value: u8)
pub fn reserved(&self) -> u16
pub fn set_reserved(&mut self, value: u16)
Trait Implementations§
Source§impl Clone for PushBuiltinNfgenmsg
impl Clone for PushBuiltinNfgenmsg
Source§fn clone(&self) -> PushBuiltinNfgenmsg
fn clone(&self) -> PushBuiltinNfgenmsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushBuiltinNfgenmsg
impl Debug for PushBuiltinNfgenmsg
Auto Trait Implementations§
impl Freeze for PushBuiltinNfgenmsg
impl RefUnwindSafe for PushBuiltinNfgenmsg
impl Send for PushBuiltinNfgenmsg
impl Sync for PushBuiltinNfgenmsg
impl Unpin for PushBuiltinNfgenmsg
impl UnwindSafe for PushBuiltinNfgenmsg
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