#[repr(C)]pub struct virgl_renderer_resource_info {
pub handle: u32,
pub virgl_format: u32,
pub width: u32,
pub height: u32,
pub depth: u32,
pub flags: u32,
pub tex_id: u32,
pub stride: u32,
pub drm_fourcc: c_int,
pub fd: c_int,
}
Fields§
§handle: u32
§virgl_format: u32
§width: u32
§height: u32
§depth: u32
§flags: u32
§tex_id: u32
§stride: u32
§drm_fourcc: c_int
§fd: c_int
Trait Implementations§
source§impl Clone for virgl_renderer_resource_info
impl Clone for virgl_renderer_resource_info
source§fn clone(&self) -> virgl_renderer_resource_info
fn clone(&self) -> virgl_renderer_resource_info
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 virgl_renderer_resource_info
impl Debug for virgl_renderer_resource_info
source§impl Default for virgl_renderer_resource_info
impl Default for virgl_renderer_resource_info
source§fn default() -> virgl_renderer_resource_info
fn default() -> virgl_renderer_resource_info
Returns the “default value” for a type. Read more
impl Copy for virgl_renderer_resource_info
Auto Trait Implementations§
impl RefUnwindSafe for virgl_renderer_resource_info
impl Send for virgl_renderer_resource_info
impl Sync for virgl_renderer_resource_info
impl Unpin for virgl_renderer_resource_info
impl UnwindSafe for virgl_renderer_resource_info
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