pub struct J2kDecodedComponents<'a> { /* private fields */ }Expand description
Borrowed decoded component planes for an image.
Implementations§
Source§impl<'a> J2kDecodedComponents<'a>
impl<'a> J2kDecodedComponents<'a>
Sourcepub fn dimensions(&self) -> (u32, u32)
pub fn dimensions(&self) -> (u32, u32)
Dimensions of the decoded image represented by these planes.
Sourcepub fn color_space(&self) -> &J2kDecodedColorSpace
pub fn color_space(&self) -> &J2kDecodedColorSpace
Color space after JPEG 2000 color conversion has been applied.
Sourcepub fn planes(&self) -> &[J2kComponentPlane<'a>]
pub fn planes(&self) -> &[J2kComponentPlane<'a>]
Borrowed decoded component planes in display order.
Trait Implementations§
Source§impl<'a> Clone for J2kDecodedComponents<'a>
impl<'a> Clone for J2kDecodedComponents<'a>
Source§fn clone(&self) -> J2kDecodedComponents<'a>
fn clone(&self) -> J2kDecodedComponents<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for J2kDecodedComponents<'a>
impl<'a> RefUnwindSafe for J2kDecodedComponents<'a>
impl<'a> Send for J2kDecodedComponents<'a>
impl<'a> Sync for J2kDecodedComponents<'a>
impl<'a> Unpin for J2kDecodedComponents<'a>
impl<'a> UnsafeUnpin for J2kDecodedComponents<'a>
impl<'a> UnwindSafe for J2kDecodedComponents<'a>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more