pub struct DrmFormatImageProperties {
pub drm_modifier: DrmModifier,
pub plane_layouts: Vec<PlaneLayout>,
}
Expand description
Description of drm format properties used to create an image using drm format modifier.
Fields§
§drm_modifier: DrmModifier
Drm format modifier
plane_layouts: Vec<PlaneLayout>
Plane subresource layouts
Trait Implementations§
Source§impl Clone for DrmFormatImageProperties
impl Clone for DrmFormatImageProperties
Source§fn clone(&self) -> DrmFormatImageProperties
fn clone(&self) -> DrmFormatImageProperties
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 DrmFormatImageProperties
impl Debug for DrmFormatImageProperties
Source§impl Hash for DrmFormatImageProperties
impl Hash for DrmFormatImageProperties
Source§impl PartialEq for DrmFormatImageProperties
impl PartialEq for DrmFormatImageProperties
impl Eq for DrmFormatImageProperties
impl StructuralPartialEq for DrmFormatImageProperties
Auto Trait Implementations§
impl Freeze for DrmFormatImageProperties
impl RefUnwindSafe for DrmFormatImageProperties
impl Send for DrmFormatImageProperties
impl Sync for DrmFormatImageProperties
impl Unpin for DrmFormatImageProperties
impl UnwindSafe for DrmFormatImageProperties
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