Enum openjpeg_sys::CODEC_FORMAT
source · #[repr(i32)]pub enum CODEC_FORMAT {
OPJ_CODEC_UNKNOWN = -1,
OPJ_CODEC_J2K = 0,
OPJ_CODEC_JPT = 1,
OPJ_CODEC_JP2 = 2,
OPJ_CODEC_JPP = 3,
OPJ_CODEC_JPX = 4,
}
Expand description
Supported codec
Variants§
OPJ_CODEC_UNKNOWN = -1
< place-holder
OPJ_CODEC_J2K = 0
< JPEG-2000 codestream : read/write
OPJ_CODEC_JPT = 1
< JPT-stream (JPEG 2000, JPIP) : read only
OPJ_CODEC_JP2 = 2
< JP2 file format : read/write
OPJ_CODEC_JPP = 3
< JPP-stream (JPEG 2000, JPIP) : to be coded
OPJ_CODEC_JPX = 4
< 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 for CODEC_FORMAT
impl PartialEq for CODEC_FORMAT
impl Copy for CODEC_FORMAT
impl Eq for CODEC_FORMAT
impl StructuralPartialEq for CODEC_FORMAT
Auto Trait Implementations§
impl Freeze for CODEC_FORMAT
impl RefUnwindSafe for CODEC_FORMAT
impl Send for CODEC_FORMAT
impl Sync for CODEC_FORMAT
impl Unpin for CODEC_FORMAT
impl UnwindSafe for CODEC_FORMAT
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)