#[repr(C)]pub struct RawPlaneMut {
pub ptr: *mut u8,
pub stride_bytes: usize,
pub width: usize,
pub height: usize,
pub sample_type: SampleType,
}Expand description
Raw mutable plane view used by expert builders and C ABI adapters.
Fields§
§ptr: *mut u8Plane start pointer.
stride_bytes: usizeStride in bytes.
width: usizeVisible width in samples.
height: usizeVisible height in rows.
sample_type: SampleTypePlane storage sample type.
Trait Implementations§
Source§impl Clone for RawPlaneMut
impl Clone for RawPlaneMut
Source§fn clone(&self) -> RawPlaneMut
fn clone(&self) -> RawPlaneMut
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 RawPlaneMut
impl Debug for RawPlaneMut
Source§impl PartialEq for RawPlaneMut
impl PartialEq for RawPlaneMut
Source§fn eq(&self, other: &RawPlaneMut) -> bool
fn eq(&self, other: &RawPlaneMut) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RawPlaneMut
impl Eq for RawPlaneMut
impl StructuralPartialEq for RawPlaneMut
Auto Trait Implementations§
impl Freeze for RawPlaneMut
impl RefUnwindSafe for RawPlaneMut
impl !Send for RawPlaneMut
impl !Sync for RawPlaneMut
impl Unpin for RawPlaneMut
impl UnsafeUnpin for RawPlaneMut
impl UnwindSafe for RawPlaneMut
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