Struct virtio_sys::virtio_net::virtio_net_ctrl_hdr
source · #[repr(C, packed(1))]pub struct virtio_net_ctrl_hdr {
pub class: u8,
pub cmd: u8,
}
Fields§
§class: u8
§cmd: u8
Trait Implementations§
source§impl Clone for virtio_net_ctrl_hdr
impl Clone for virtio_net_ctrl_hdr
source§fn clone(&self) -> virtio_net_ctrl_hdr
fn clone(&self) -> virtio_net_ctrl_hdr
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 Debug for virtio_net_ctrl_hdr
impl Debug for virtio_net_ctrl_hdr
source§impl Default for virtio_net_ctrl_hdr
impl Default for virtio_net_ctrl_hdr
source§fn default() -> virtio_net_ctrl_hdr
fn default() -> virtio_net_ctrl_hdr
Returns the “default value” for a type. Read more
impl Copy for virtio_net_ctrl_hdr
Auto Trait Implementations§
impl RefUnwindSafe for virtio_net_ctrl_hdr
impl Send for virtio_net_ctrl_hdr
impl Sync for virtio_net_ctrl_hdr
impl Unpin for virtio_net_ctrl_hdr
impl UnwindSafe for virtio_net_ctrl_hdr
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