#[repr(C, align(8))]pub struct DummyTestHeader { /* private fields */ }
Expand description
Dummy test header.
Implementations§
Trait Implementations§
Source§impl Clone for DummyTestHeader
impl Clone for DummyTestHeader
Source§fn clone(&self) -> DummyTestHeader
fn clone(&self) -> DummyTestHeader
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DummyTestHeader
impl Debug for DummyTestHeader
Source§impl Header for DummyTestHeader
impl Header for DummyTestHeader
Source§fn payload_len(&self) -> usize
fn payload_len(&self) -> usize
Returns the length of the payload, i.e., the bytes that are additional
to the header. The value is measured in bytes.
Source§fn total_size(&self) -> usize
fn total_size(&self) -> usize
Returns the total size of the struct, thus the size of the header itself
plus
Header::payload_len
.Source§impl PartialEq for DummyTestHeader
impl PartialEq for DummyTestHeader
impl Eq for DummyTestHeader
impl StructuralPartialEq for DummyTestHeader
Auto Trait Implementations§
impl Freeze for DummyTestHeader
impl RefUnwindSafe for DummyTestHeader
impl Send for DummyTestHeader
impl Sync for DummyTestHeader
impl Unpin for DummyTestHeader
impl UnwindSafe for DummyTestHeader
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)