Enum plot_interface::dependency::image::codecs::pnm::ArbitraryTuplType
[−]pub enum ArbitraryTuplType {
BlackAndWhite,
BlackAndWhiteAlpha,
Grayscale,
GrayscaleAlpha,
RGB,
RGBAlpha,
Custom(String),
}
Expand description
Standardized tuple type specifiers in the header of a pam
.
Variants
BlackAndWhite
Pixels are either black (0) or white (1)
BlackAndWhiteAlpha
Pixels are either black (0) or white (1) and a second alpha channel
Grayscale
Pixels represent the amount of white
GrayscaleAlpha
Grayscale with an additional alpha channel
RGB
Three channels: Red, Green, Blue
RGBAlpha
Four channels: Red, Green, Blue, Alpha
Custom(String)
An image format which is not standardized
Trait Implementations
impl Clone for ArbitraryTuplType
impl Clone for ArbitraryTuplType
fn clone(&self) -> ArbitraryTuplType
fn clone(&self) -> ArbitraryTuplType
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
Auto Trait Implementations
impl RefUnwindSafe for ArbitraryTuplType
impl Send for ArbitraryTuplType
impl Sync for ArbitraryTuplType
impl Unpin for ArbitraryTuplType
impl UnwindSafe for ArbitraryTuplType
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.