pub struct OwnedPlane {
pub data: PlaneData,
pub width: usize,
pub height: usize,
pub stride_bytes: usize,
}Expand description
One owned plane.
Fields§
§data: PlaneDataThe words.
width: usizeWidth in samples.
height: usizeHeight in rows.
stride_bytes: usizeDistance between rows, in bytes.
Trait Implementations§
Source§impl Clone for OwnedPlane
impl Clone for OwnedPlane
Source§fn clone(&self) -> OwnedPlane
fn clone(&self) -> OwnedPlane
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 moreAuto Trait Implementations§
impl Freeze for OwnedPlane
impl RefUnwindSafe for OwnedPlane
impl Send for OwnedPlane
impl Sync for OwnedPlane
impl Unpin for OwnedPlane
impl UnsafeUnpin for OwnedPlane
impl UnwindSafe for OwnedPlane
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