Struct titanium::desktop::gui::libdruid::piet::image_crate::codecs::bmp::BmpEncoder
pub struct BmpEncoder<'a, W>where
W: 'a,{ /* private fields */ }
Expand description
The representation of a BMP encoder.
Implementations§
§impl<'a, W> BmpEncoder<'a, W>where
W: Write + 'a,
impl<'a, W> BmpEncoder<'a, W>where W: Write + 'a,
Trait Implementations§
§impl<'a, W> ImageEncoder for BmpEncoder<'a, W>where
W: Write,
impl<'a, W> ImageEncoder for BmpEncoder<'a, W>where W: Write,
§fn write_image(
self,
buf: &[u8],
width: u32,
height: u32,
color_type: ColorType
) -> Result<(), ImageError>
fn write_image( self, buf: &[u8], width: u32, height: u32, color_type: ColorType ) -> Result<(), ImageError>
Writes all the bytes in an image to the encoder. Read more
Auto Trait Implementations§
impl<'a, W> RefUnwindSafe for BmpEncoder<'a, W>where W: RefUnwindSafe,
impl<'a, W> Send for BmpEncoder<'a, W>where W: Send,
impl<'a, W> Sync for BmpEncoder<'a, W>where W: Sync,
impl<'a, W> Unpin for BmpEncoder<'a, W>
impl<'a, W> !UnwindSafe for BmpEncoder<'a, W>
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.