Struct rutabaga_gfx::rutabaga_utils::Resource3DInfo
source · pub struct Resource3DInfo {
pub width: u32,
pub height: u32,
pub drm_fourcc: u32,
pub strides: [u32; 4],
pub offsets: [u32; 4],
pub modifier: u64,
pub guest_cpu_mappable: bool,
}
Expand description
Metadata associated with a swapchain, video or camera image.
Fields§
§width: u32
§height: u32
§drm_fourcc: u32
§strides: [u32; 4]
§offsets: [u32; 4]
§modifier: u64
§guest_cpu_mappable: bool
Whether the buffer can be accessed by the guest CPU.
Trait Implementations§
source§impl Clone for Resource3DInfo
impl Clone for Resource3DInfo
source§fn clone(&self) -> Resource3DInfo
fn clone(&self) -> Resource3DInfo
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 Resource3DInfo
impl Debug for Resource3DInfo
source§impl Default for Resource3DInfo
impl Default for Resource3DInfo
source§fn default() -> Resource3DInfo
fn default() -> Resource3DInfo
Returns the “default value” for a type. Read more
impl Copy for Resource3DInfo
Auto Trait Implementations§
impl RefUnwindSafe for Resource3DInfo
impl Send for Resource3DInfo
impl Sync for Resource3DInfo
impl Unpin for Resource3DInfo
impl UnwindSafe for Resource3DInfo
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