pub struct VfInfoRateBuffer<T> { /* private fields */ }
Implementations§
Source§impl<T: AsRef<[u8]>> VfInfoRateBuffer<T>
impl<T: AsRef<[u8]>> VfInfoRateBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
Source§impl<'a, T: AsRef<[u8]>> VfInfoRateBuffer<T>
impl<'a, T: AsRef<[u8]>> VfInfoRateBuffer<T>
pub fn min_tx_rate(&self) -> u32
Source§impl<'a, T: AsRef<[u8]>> VfInfoRateBuffer<T>
impl<'a, T: AsRef<[u8]>> VfInfoRateBuffer<T>
pub fn max_tx_rate(&self) -> u32
Source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> VfInfoRateBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> VfInfoRateBuffer<T>
pub fn set_min_tx_rate(&mut self, value: u32)
Source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> VfInfoRateBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> VfInfoRateBuffer<T>
pub fn set_max_tx_rate(&mut self, value: u32)
Source§impl<T: AsRef<[u8]>> VfInfoRateBuffer<T>
impl<T: AsRef<[u8]>> VfInfoRateBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl<T: Clone> Clone for VfInfoRateBuffer<T>
impl<T: Clone> Clone for VfInfoRateBuffer<T>
Source§fn clone(&self) -> VfInfoRateBuffer<T>
fn clone(&self) -> VfInfoRateBuffer<T>
Returns a copy 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<T: Debug> Debug for VfInfoRateBuffer<T>
impl<T: Debug> Debug for VfInfoRateBuffer<T>
Source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoRateBuffer<&'a T>> for VfInfoRate
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoRateBuffer<&'a T>> for VfInfoRate
Source§impl<T: PartialEq> PartialEq for VfInfoRateBuffer<T>
impl<T: PartialEq> PartialEq for VfInfoRateBuffer<T>
impl<T: Copy> Copy for VfInfoRateBuffer<T>
impl<T: Eq> Eq for VfInfoRateBuffer<T>
impl<T> StructuralPartialEq for VfInfoRateBuffer<T>
Auto Trait Implementations§
impl<T> Freeze for VfInfoRateBuffer<T>where
T: Freeze,
impl<T> RefUnwindSafe for VfInfoRateBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for VfInfoRateBuffer<T>where
T: Send,
impl<T> Sync for VfInfoRateBuffer<T>where
T: Sync,
impl<T> Unpin for VfInfoRateBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for VfInfoRateBuffer<T>where
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)