pub struct PushTcSizespec { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl PushTcSizespec
impl PushTcSizespec
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 cell_log(&self) -> u8
pub fn set_cell_log(&mut self, value: u8)
pub fn size_log(&self) -> u8
pub fn set_size_log(&mut self, value: u8)
pub fn cell_align(&self) -> i16
pub fn set_cell_align(&mut self, value: i16)
pub fn overhead(&self) -> i32
pub fn set_overhead(&mut self, value: i32)
pub fn linklayer(&self) -> u32
pub fn set_linklayer(&mut self, value: u32)
pub fn mpu(&self) -> u32
pub fn set_mpu(&mut self, value: u32)
pub fn mtu(&self) -> u32
pub fn set_mtu(&mut self, value: u32)
pub fn tsize(&self) -> u32
pub fn set_tsize(&mut self, value: u32)
Trait Implementations§
Source§impl Clone for PushTcSizespec
impl Clone for PushTcSizespec
Source§fn clone(&self) -> PushTcSizespec
fn clone(&self) -> PushTcSizespec
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 PushTcSizespec
impl Debug for PushTcSizespec
Auto Trait Implementations§
impl Freeze for PushTcSizespec
impl RefUnwindSafe for PushTcSizespec
impl Send for PushTcSizespec
impl Sync for PushTcSizespec
impl Unpin for PushTcSizespec
impl UnwindSafe for PushTcSizespec
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