#[repr(i32)]pub enum ImwritePAMFlags {
IMWRITE_PAM_FORMAT_NULL = 0,
IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1,
IMWRITE_PAM_FORMAT_GRAYSCALE = 2,
IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3,
IMWRITE_PAM_FORMAT_RGB = 4,
IMWRITE_PAM_FORMAT_RGB_ALPHA = 5,
}
Expand description
Imwrite PAM specific tupletype flags used to define the ‘TUPLETYPE’ field of a PAM file.
Variants§
IMWRITE_PAM_FORMAT_NULL = 0
IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1
IMWRITE_PAM_FORMAT_GRAYSCALE = 2
IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3
IMWRITE_PAM_FORMAT_RGB = 4
IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
Trait Implementations§
Source§impl Clone for ImwritePAMFlags
impl Clone for ImwritePAMFlags
Source§fn clone(&self) -> ImwritePAMFlags
fn clone(&self) -> ImwritePAMFlags
Returns a duplicate 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 moreSource§impl Debug for ImwritePAMFlags
impl Debug for ImwritePAMFlags
Source§impl From<ImwritePAMFlags> for i32
impl From<ImwritePAMFlags> for i32
Source§fn from(v: ImwritePAMFlags) -> Self
fn from(v: ImwritePAMFlags) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ImwritePAMFlags
impl PartialEq for ImwritePAMFlags
Source§impl TryFrom<i32> for ImwritePAMFlags
impl TryFrom<i32> for ImwritePAMFlags
impl Copy for ImwritePAMFlags
impl Eq for ImwritePAMFlags
impl StructuralPartialEq for ImwritePAMFlags
Auto Trait Implementations§
impl Freeze for ImwritePAMFlags
impl RefUnwindSafe for ImwritePAMFlags
impl Send for ImwritePAMFlags
impl Sync for ImwritePAMFlags
impl Unpin for ImwritePAMFlags
impl UnwindSafe for ImwritePAMFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more