Struct QoiEncoder

struct QoiEncoder<W> { ... }

QOI encoder

Implementations

impl<W: Write> QoiEncoder<W>

fn new(writer: W) -> Self

Creates a new encoder that writes its output to writer

impl<T> Any for QoiEncoder<W>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for QoiEncoder<W>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for QoiEncoder<W>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for QoiEncoder<W>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for QoiEncoder<W>

unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T, U> Into for QoiEncoder<W>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for QoiEncoder<W>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for QoiEncoder<W>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<W> Freeze for QoiEncoder<W>

impl<W> RefUnwindSafe for QoiEncoder<W>

impl<W> Send for QoiEncoder<W>

impl<W> Sync for QoiEncoder<W>

impl<W> Unpin for QoiEncoder<W>

impl<W> UnwindSafe for QoiEncoder<W>

impl<W: Write> ImageEncoder for QoiEncoder<W>

fn write_image(self: Self, buf: &[u8], width: u32, height: u32, color_type: ExtendedColorType) -> ImageResult<()>