#[repr(C)]pub struct VirtioGpuRect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
Rectangle structure for GPU commands.
Fields§
§x: u32X coordinate
y: u32Y coordinate
width: u32Width in pixels
height: u32Height in pixels
Implementations§
Source§impl VirtioGpuRect
impl VirtioGpuRect
Trait Implementations§
Source§impl Clone for VirtioGpuRect
impl Clone for VirtioGpuRect
Source§fn clone(&self) -> VirtioGpuRect
fn clone(&self) -> VirtioGpuRect
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VirtioGpuRect
impl Debug for VirtioGpuRect
impl Copy for VirtioGpuRect
Auto Trait Implementations§
impl Freeze for VirtioGpuRect
impl RefUnwindSafe for VirtioGpuRect
impl Send for VirtioGpuRect
impl Sync for VirtioGpuRect
impl Unpin for VirtioGpuRect
impl UnwindSafe for VirtioGpuRect
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)