Struct virtio_bindings::virtio_gpu::virtio_gpu_rect
source · #[repr(C)]pub struct virtio_gpu_rect {
pub x: __le32,
pub y: __le32,
pub width: __le32,
pub height: __le32,
}
Fields§
§x: __le32
§y: __le32
§width: __le32
§height: __le32
Trait Implementations§
source§impl Clone for virtio_gpu_rect
impl Clone for virtio_gpu_rect
source§fn clone(&self) -> virtio_gpu_rect
fn clone(&self) -> virtio_gpu_rect
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_gpu_rect
impl Debug for virtio_gpu_rect
source§impl Default for virtio_gpu_rect
impl Default for virtio_gpu_rect
source§fn default() -> virtio_gpu_rect
fn default() -> virtio_gpu_rect
Returns the “default value” for a type. Read more
source§impl PartialEq for virtio_gpu_rect
impl PartialEq for virtio_gpu_rect
source§fn eq(&self, other: &virtio_gpu_rect) -> bool
fn eq(&self, other: &virtio_gpu_rect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for virtio_gpu_rect
impl StructuralPartialEq for virtio_gpu_rect
Auto Trait Implementations§
impl RefUnwindSafe for virtio_gpu_rect
impl Send for virtio_gpu_rect
impl Sync for virtio_gpu_rect
impl Unpin for virtio_gpu_rect
impl UnwindSafe for virtio_gpu_rect
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