#[repr(C)]pub struct RawPlane {
pub ptr: *const u8,
pub stride_bytes: usize,
pub width: usize,
pub height: usize,
pub sample_type: SampleType,
}Expand description
Raw immutable plane view used by expert Rust and C ABI adapters.
Fields§
§ptr: *const 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§
impl Copy for RawPlane
impl Eq for RawPlane
impl StructuralPartialEq for RawPlane
Auto Trait Implementations§
impl Freeze for RawPlane
impl RefUnwindSafe for RawPlane
impl !Send for RawPlane
impl !Sync for RawPlane
impl Unpin for RawPlane
impl UnsafeUnpin for RawPlane
impl UnwindSafe for RawPlane
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