pub struct J2kScratchPool { /* private fields */ }Expand description
Caller-owned reusable scratch for j2k.
Implementations§
Source§impl J2kScratchPool
impl J2kScratchPool
Sourcepub const fn new() -> J2kScratchPool
pub const fn new() -> J2kScratchPool
Create an empty JPEG 2000 scratch pool.
Trait Implementations§
Source§impl Debug for J2kScratchPool
impl Debug for J2kScratchPool
Source§impl Default for J2kScratchPool
impl Default for J2kScratchPool
Source§fn default() -> J2kScratchPool
fn default() -> J2kScratchPool
Returns the “default value” for a type. Read more
impl Eq for J2kScratchPool
Source§impl PartialEq for J2kScratchPool
impl PartialEq for J2kScratchPool
Source§fn eq(&self, other: &J2kScratchPool) -> bool
fn eq(&self, other: &J2kScratchPool) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ScratchPool for J2kScratchPool
impl ScratchPool for J2kScratchPool
impl StructuralPartialEq for J2kScratchPool
Auto Trait Implementations§
impl Freeze for J2kScratchPool
impl RefUnwindSafe for J2kScratchPool
impl Send for J2kScratchPool
impl Sync for J2kScratchPool
impl Unpin for J2kScratchPool
impl UnsafeUnpin for J2kScratchPool
impl UnwindSafe for J2kScratchPool
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> 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