pub struct PlaneDims {
pub stride: usize,
pub rows: usize,
}Expand description
Dimensions of a particular image plane.
Fields§
§stride: usizeThe stride for a row, in bytes. This may include extra padding.
rows: usizeThe number of rows. This often matches the image height, but some chroma planes may be subsampled.
Trait Implementations§
impl Copy for PlaneDims
impl Eq for PlaneDims
impl StructuralPartialEq for PlaneDims
Auto Trait Implementations§
impl Freeze for PlaneDims
impl RefUnwindSafe for PlaneDims
impl Send for PlaneDims
impl Sync for PlaneDims
impl Unpin for PlaneDims
impl UnwindSafe for PlaneDims
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