#[repr(C)]pub struct VADRMPRIMESurfaceDescriptorLayer {
pub drm_format: u32,
pub num_planes: u32,
pub object_index: [u32; 4],
pub offset: [u32; 4],
pub pitch: [u32; 4],
}Expand description
Description of each layer in the surface.
Fields§
§drm_format: u32DRM format fourcc of this layer (DRM_FOURCC_*).
num_planes: u32Number of planes in this layer.
object_index: [u32; 4]Index in the objects array of the object containing each plane.
offset: [u32; 4]Offset within the object of each plane.
pitch: [u32; 4]Pitch of each plane.
Trait Implementations§
Source§impl Clone for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Clone for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Source§fn clone(&self) -> _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
fn clone(&self) -> _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Source§impl Default for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Default for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Source§fn default() -> _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
fn default() -> _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Returns the “default value” for a type. Read more
impl Eq for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Source§impl PartialEq for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl PartialEq for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Source§fn eq(&self, other: &_VADRMPRIMESurfaceDescriptor__bindgen_ty_2) -> bool
fn eq(&self, other: &_VADRMPRIMESurfaceDescriptor__bindgen_ty_2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl RefUnwindSafe for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Send for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Sync for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl Unpin for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl UnsafeUnpin for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
impl UnwindSafe for _VADRMPRIMESurfaceDescriptor__bindgen_ty_2
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