#[repr(C)]pub struct ethertype_data_s {
pub etype: guint16,
pub payload_offset: c_int,
pub fh_tree: *mut proto_tree,
pub trailer_id: c_int,
pub fcs_len: c_int,
}Fields§
§etype: guint16§payload_offset: c_int§fh_tree: *mut proto_tree§trailer_id: c_int§fcs_len: c_intTrait Implementations§
Source§impl Clone for ethertype_data_s
impl Clone for ethertype_data_s
Source§fn clone(&self) -> ethertype_data_s
fn clone(&self) -> ethertype_data_s
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 ethertype_data_s
impl Debug for ethertype_data_s
impl Copy for ethertype_data_s
Auto Trait Implementations§
impl Freeze for ethertype_data_s
impl RefUnwindSafe for ethertype_data_s
impl !Send for ethertype_data_s
impl !Sync for ethertype_data_s
impl Unpin for ethertype_data_s
impl UnwindSafe for ethertype_data_s
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