pub struct PlaneProperties {
pub width: usize,
pub height: usize,
pub bytes_per_row: usize,
pub bytes_per_element: usize,
pub offset: usize,
pub size: usize,
}Expand description
Properties for a single plane in a multi-planar IOSurface
Fields§
§width: usizeWidth of this plane in pixels
height: usizeHeight of this plane in pixels
bytes_per_row: usizeBytes per row for this plane
bytes_per_element: usizeBytes per element for this plane
offset: usizeOffset from the start of the surface allocation
size: usizeSize of this plane in bytes
Trait Implementations§
Source§impl Clone for PlaneProperties
impl Clone for PlaneProperties
Source§fn clone(&self) -> PlaneProperties
fn clone(&self) -> PlaneProperties
Returns a duplicate 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 PlaneProperties
impl Debug for PlaneProperties
Source§impl PartialEq for PlaneProperties
impl PartialEq for PlaneProperties
impl Copy for PlaneProperties
impl Eq for PlaneProperties
impl StructuralPartialEq for PlaneProperties
Auto Trait Implementations§
impl Freeze for PlaneProperties
impl RefUnwindSafe for PlaneProperties
impl Send for PlaneProperties
impl Sync for PlaneProperties
impl Unpin for PlaneProperties
impl UnwindSafe for PlaneProperties
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