pub struct QoiWriter<'a, Vfs: 'a>(/* private fields */);Available on crate feature
image only.Expand description
A writer for QOI images.
Trait Implementations§
Source§impl<'a, Vfs> From<&'a DynamicImage> for QoiWriter<'a, Vfs>
impl<'a, Vfs> From<&'a DynamicImage> for QoiWriter<'a, Vfs>
Source§fn from(img: &'a DynamicImage) -> Self
fn from(img: &'a DynamicImage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, Vfs> Freeze for QoiWriter<'a, Vfs>
impl<'a, Vfs> RefUnwindSafe for QoiWriter<'a, Vfs>where
Vfs: RefUnwindSafe,
impl<'a, Vfs> Send for QoiWriter<'a, Vfs>where
Vfs: Send,
impl<'a, Vfs> Sync for QoiWriter<'a, Vfs>where
Vfs: Sync,
impl<'a, Vfs> Unpin for QoiWriter<'a, Vfs>where
Vfs: Unpin,
impl<'a, Vfs> UnwindSafe for QoiWriter<'a, Vfs>where
Vfs: UnwindSafe,
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> DirStructureItem for T
impl<T> DirStructureItem for T
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