#[repr(C)]pub struct virgl_renderer_resource_info_ext {
pub version: c_int,
pub base: virgl_renderer_resource_info,
pub has_dmabuf_export: bool,
pub planes: c_int,
pub modifiers: u64,
pub d3d_tex2d: *mut c_void,
}
Fields§
§version: c_int
§base: virgl_renderer_resource_info
§has_dmabuf_export: bool
§planes: c_int
§modifiers: u64
§d3d_tex2d: *mut c_void
Trait Implementations§
source§impl Clone for virgl_renderer_resource_info_ext
impl Clone for virgl_renderer_resource_info_ext
source§fn clone(&self) -> virgl_renderer_resource_info_ext
fn clone(&self) -> virgl_renderer_resource_info_ext
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 moreimpl Copy for virgl_renderer_resource_info_ext
Auto Trait Implementations§
impl RefUnwindSafe for virgl_renderer_resource_info_ext
impl !Send for virgl_renderer_resource_info_ext
impl !Sync for virgl_renderer_resource_info_ext
impl Unpin for virgl_renderer_resource_info_ext
impl UnwindSafe for virgl_renderer_resource_info_ext
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