#[repr(C)]pub struct virtio_gpu_resource_attach_backing {
pub hdr: virtio_gpu_ctrl_hdr,
pub resource_id: __le32,
pub nr_entries: __le32,
}Fields§
§hdr: virtio_gpu_ctrl_hdr§resource_id: __le32§nr_entries: __le32Trait Implementations§
Source§impl Clone for virtio_gpu_resource_attach_backing
impl Clone for virtio_gpu_resource_attach_backing
Source§fn clone(&self) -> virtio_gpu_resource_attach_backing
fn clone(&self) -> virtio_gpu_resource_attach_backing
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 Default for virtio_gpu_resource_attach_backing
impl Default for virtio_gpu_resource_attach_backing
Source§fn default() -> virtio_gpu_resource_attach_backing
fn default() -> virtio_gpu_resource_attach_backing
Returns the “default value” for a type. Read more
Source§impl PartialEq for virtio_gpu_resource_attach_backing
impl PartialEq for virtio_gpu_resource_attach_backing
Source§fn eq(&self, other: &virtio_gpu_resource_attach_backing) -> bool
fn eq(&self, other: &virtio_gpu_resource_attach_backing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for virtio_gpu_resource_attach_backing
impl StructuralPartialEq for virtio_gpu_resource_attach_backing
Auto Trait Implementations§
impl Freeze for virtio_gpu_resource_attach_backing
impl RefUnwindSafe for virtio_gpu_resource_attach_backing
impl Send for virtio_gpu_resource_attach_backing
impl Sync for virtio_gpu_resource_attach_backing
impl Unpin for virtio_gpu_resource_attach_backing
impl UnwindSafe for virtio_gpu_resource_attach_backing
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