Struct PlaneMut
pub struct PlaneMut<'a, T>where
T: Sample,{ /* private fields */ }Expand description
Typed mutable plane view available while building outputs.
Implementations§
§impl<'a, T> PlaneMut<'a, T>where
T: Sample,
impl<'a, T> PlaneMut<'a, T>where
T: Sample,
pub fn row_bytes_mut(&mut self, row: usize) -> Option<&mut [u8]>
pub fn row_bytes_mut(&mut self, row: usize) -> Option<&mut [u8]>
Returns mutable row slice of raw bytes by row index.
pub fn raw_parts(&mut self) -> RawPlaneMut
pub fn raw_parts(&mut self) -> RawPlaneMut
Returns raw mutable pointer and plane shape for expert code.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for PlaneMut<'a, T>
impl<'a, T> RefUnwindSafe for PlaneMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PlaneMut<'a, T>where
T: Send,
impl<'a, T> Sync for PlaneMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for PlaneMut<'a, T>
impl<'a, T> UnsafeUnpin for PlaneMut<'a, T>
impl<'a, T> !UnwindSafe for PlaneMut<'a, T>
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