Enum openjp2::openjpeg::CODEC_FORMAT
source · #[repr(i32)]
pub enum CODEC_FORMAT {
OPJ_CODEC_UNKNOWN,
OPJ_CODEC_J2K,
OPJ_CODEC_JPT,
OPJ_CODEC_JP2,
OPJ_CODEC_JPP,
OPJ_CODEC_JPX,
}Expand description
Supported codec
Variants§
OPJ_CODEC_UNKNOWN
< place-holder
OPJ_CODEC_J2K
< JPEG-2000 codestream : read/write
OPJ_CODEC_JPT
< JPT-stream (JPEG 2000, JPIP) : read only
OPJ_CODEC_JP2
< JP2 file format : read/write
OPJ_CODEC_JPP
< JPP-stream (JPEG 2000, JPIP) : to be coded
OPJ_CODEC_JPX
< JPX file format (JPEG 2000 Part-2) : to be coded
Trait Implementations§
source§impl Clone for CODEC_FORMAT
impl Clone for CODEC_FORMAT
source§fn clone(&self) -> CODEC_FORMAT
fn clone(&self) -> CODEC_FORMAT
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 CODEC_FORMAT
impl Debug for CODEC_FORMAT
source§impl Hash for CODEC_FORMAT
impl Hash for CODEC_FORMAT
source§impl PartialEq<CODEC_FORMAT> for CODEC_FORMAT
impl PartialEq<CODEC_FORMAT> for CODEC_FORMAT
source§fn eq(&self, other: &CODEC_FORMAT) -> bool
fn eq(&self, other: &CODEC_FORMAT) -> bool
This method tests for
self and other values to be equal, and is used
by ==.