pub struct DrmFormatProperties {
pub drm_modifier: DrmModifier,
pub plane_count: u32,
pub valid_usages: ImageFeature,
}
Expand description
Drm format properties
Fields§
§drm_modifier: DrmModifier
Drm format modifier.
plane_count: u32
Number of memory planes each image crated with drm_modifier
has.
valid_usages: ImageFeature
Valid image usage with the drm_modifier
.
Trait Implementations§
Source§impl Clone for DrmFormatProperties
impl Clone for DrmFormatProperties
Source§fn clone(&self) -> DrmFormatProperties
fn clone(&self) -> DrmFormatProperties
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 DrmFormatProperties
impl Debug for DrmFormatProperties
Source§impl Default for DrmFormatProperties
impl Default for DrmFormatProperties
Source§impl Hash for DrmFormatProperties
impl Hash for DrmFormatProperties
Source§impl PartialEq for DrmFormatProperties
impl PartialEq for DrmFormatProperties
impl Eq for DrmFormatProperties
impl StructuralPartialEq for DrmFormatProperties
Auto Trait Implementations§
impl Freeze for DrmFormatProperties
impl RefUnwindSafe for DrmFormatProperties
impl Send for DrmFormatProperties
impl Sync for DrmFormatProperties
impl Unpin for DrmFormatProperties
impl UnwindSafe for DrmFormatProperties
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