pub struct PlaneDescriptor {
pub role: PlaneRole,
pub width_divisor: usize,
pub height_divisor: usize,
pub sample_type: SampleType,
}Expand description
Descriptor for one plane in a format.
Fields§
§role: PlaneRolePlane role.
width_divisor: usizeDivisor from full frame width for this plane.
height_divisor: usizeDivisor from full frame height for this plane.
sample_type: SampleTypeStored sample type.
Trait Implementations§
Source§impl Clone for PlaneDescriptor
impl Clone for PlaneDescriptor
Source§fn clone(&self) -> PlaneDescriptor
fn clone(&self) -> PlaneDescriptor
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 moreSource§impl Debug for PlaneDescriptor
impl Debug for PlaneDescriptor
Source§impl PartialEq for PlaneDescriptor
impl PartialEq for PlaneDescriptor
Source§fn eq(&self, other: &PlaneDescriptor) -> bool
fn eq(&self, other: &PlaneDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PlaneDescriptor
impl StructuralPartialEq for PlaneDescriptor
Auto Trait Implementations§
impl Freeze for PlaneDescriptor
impl RefUnwindSafe for PlaneDescriptor
impl Send for PlaneDescriptor
impl Sync for PlaneDescriptor
impl Unpin for PlaneDescriptor
impl UnsafeUnpin for PlaneDescriptor
impl UnwindSafe for PlaneDescriptor
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