Enum opencv::imgcodecs::ImwritePAMFlags
source · #[repr(C)]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 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 moresource§impl Debug for ImwritePAMFlags
impl Debug for ImwritePAMFlags
source§impl PartialEq for ImwritePAMFlags
impl PartialEq for ImwritePAMFlags
source§fn eq(&self, other: &ImwritePAMFlags) -> bool
fn eq(&self, other: &ImwritePAMFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ImwritePAMFlags
impl Eq for ImwritePAMFlags
impl StructuralEq for ImwritePAMFlags
impl StructuralPartialEq for ImwritePAMFlags
Auto Trait Implementations§
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