Struct titanium::desktop::gui::libdruid::piet::image_crate::codecs::pnm::BitmapHeader
pub struct BitmapHeader {
pub encoding: SampleEncoding,
pub height: u32,
pub width: u32,
}
Expand description
Header produced by a pbm
file (“Portable Bit Map”)
Fields§
§encoding: SampleEncoding
Binary or Ascii encoded file
height: u32
Height of the image file
width: u32
Width of the image file
Trait Implementations§
§impl Clone for BitmapHeader
impl Clone for BitmapHeader
§fn clone(&self) -> BitmapHeader
fn clone(&self) -> BitmapHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for BitmapHeader
impl Debug for BitmapHeader
§impl From<BitmapHeader> for PnmHeader
impl From<BitmapHeader> for PnmHeader
§fn from(header: BitmapHeader) -> PnmHeader
fn from(header: BitmapHeader) -> PnmHeader
Converts to this type from the input type.
impl Copy for BitmapHeader
Auto Trait Implementations§
impl RefUnwindSafe for BitmapHeader
impl Send for BitmapHeader
impl Sync for BitmapHeader
impl Unpin for BitmapHeader
impl UnwindSafe for BitmapHeader
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.