pub struct PushIflaVfMac { /* private fields */ }Available on crate feature
rt-link only.Implementations§
Source§impl PushIflaVfMac
impl PushIflaVfMac
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 vf(&self) -> u32
pub fn set_vf(&mut self, value: u32)
pub fn mac(&self) -> [u8; 32]
pub fn set_mac(&mut self, value: [u8; 32])
Trait Implementations§
Source§impl Clone for PushIflaVfMac
impl Clone for PushIflaVfMac
Source§fn clone(&self) -> PushIflaVfMac
fn clone(&self) -> PushIflaVfMac
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 PushIflaVfMac
impl Debug for PushIflaVfMac
Auto Trait Implementations§
impl Freeze for PushIflaVfMac
impl RefUnwindSafe for PushIflaVfMac
impl Send for PushIflaVfMac
impl Sync for PushIflaVfMac
impl Unpin for PushIflaVfMac
impl UnwindSafe for PushIflaVfMac
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