Struct virtio_sys::virtio_vsock::virtio_vsock_event
source · #[repr(C, packed(1))]pub struct virtio_vsock_event {
pub id: Le32,
}
Fields§
§id: Le32
Trait Implementations§
source§impl AsBytes for virtio_vsock_eventwhere
Le32: AsBytes,
impl AsBytes for virtio_vsock_eventwhere
Le32: AsBytes,
§fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
source§impl Clone for virtio_vsock_event
impl Clone for virtio_vsock_event
source§fn clone(&self) -> virtio_vsock_event
fn clone(&self) -> virtio_vsock_event
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_vsock_event
impl Debug for virtio_vsock_event
source§impl Default for virtio_vsock_event
impl Default for virtio_vsock_event
source§fn default() -> virtio_vsock_event
fn default() -> virtio_vsock_event
Returns the “default value” for a type. Read more
impl Copy for virtio_vsock_event
Auto Trait Implementations§
impl RefUnwindSafe for virtio_vsock_event
impl Send for virtio_vsock_event
impl Sync for virtio_vsock_event
impl Unpin for virtio_vsock_event
impl UnwindSafe for virtio_vsock_event
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