[][src]Enum rin::graphics::image::pnm::PNMSubtype

pub enum PNMSubtype {
    Bitmap(SampleEncoding),
    Graymap(SampleEncoding),
    Pixmap(SampleEncoding),
    ArbitraryMap,
}

Denotes the category of the magic number

Variants

Magic numbers P1 and P4

Magic numbers P2 and P5

Magic numbers P3 and P6

Magic number P7

Methods

impl PNMSubtype
[src]

Get the two magic constant bytes corresponding to this format subtype.

Whether samples are stored as binary or as decimal ascii

Trait Implementations

impl PartialEq<PNMSubtype> for PNMSubtype
[src]

impl Clone for PNMSubtype
[src]

Performs copy-assignment from source. Read more

impl Debug for PNMSubtype
[src]

impl Eq for PNMSubtype
[src]

impl Copy for PNMSubtype
[src]

Auto Trait Implementations

impl Send for PNMSubtype

impl Sync for PNMSubtype

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<V> IntoPnt for V
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

Tests if Self the same as the type T Read more

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T
[src]

Should always be Self