Struct plot_interface::dependency::image::codecs::pnm::PixmapHeader
[−]pub struct PixmapHeader {
pub encoding: SampleEncoding,
pub height: u32,
pub width: u32,
pub maxval: u32,
}
Expand description
Header produced by a ppm
file (“Portable Pixel Map”)
Fields
encoding: SampleEncoding
Binary or Ascii encoded file
height: u32
Height of the image file
width: u32
Width of the image file
maxval: u32
Maximum sample value within the image
Trait Implementations
impl Clone for PixmapHeader
impl Clone for PixmapHeader
fn clone(&self) -> PixmapHeader
fn clone(&self) -> PixmapHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PixmapHeader
impl Debug for PixmapHeader
impl From<PixmapHeader> for PnmHeader
impl From<PixmapHeader> for PnmHeader
fn from(header: PixmapHeader) -> PnmHeader
fn from(header: PixmapHeader) -> PnmHeader
Converts to this type from the input type.
impl Copy for PixmapHeader
Auto Trait Implementations
impl RefUnwindSafe for PixmapHeader
impl Send for PixmapHeader
impl Sync for PixmapHeader
impl Unpin for PixmapHeader
impl UnwindSafe for PixmapHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
sourcefn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.