pub struct Handout<'a, P: Pixel, U: GenericImage<Pixel = P>> { /* private fields */ }Expand description
Represents a handout of an image cell. This struct is used to write to the image cell’s underlying image’s data buffer without a mutable reference to the underlying image.
Implementations§
Source§impl<'a, P: Pixel, U: GenericImage<Pixel = P>> Handout<'a, P, U>
impl<'a, P: Pixel, U: GenericImage<Pixel = P>> Handout<'a, P, U>
Sourcepub unsafe fn unsafe_put_pixel(&mut self, pixel: P)
pub unsafe fn unsafe_put_pixel(&mut self, pixel: P)
Auto Trait Implementations§
impl<'a, P, U> Freeze for Handout<'a, P, U>
impl<'a, P, U> !RefUnwindSafe for Handout<'a, P, U>
impl<'a, P, U> Send for Handout<'a, P, U>
impl<'a, P, U> Sync for Handout<'a, P, U>
impl<'a, P, U> Unpin for Handout<'a, P, U>
impl<'a, P, U> !UnwindSafe for Handout<'a, P, U>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more