Struct image::io::LimitSupport
source · pub struct LimitSupport {
_non_exhaustive: (),
}
Expand description
Set of supported strict limits for a decoder.
Fields§
§_non_exhaustive: ()
Trait Implementations§
source§impl Clone for LimitSupport
impl Clone for LimitSupport
source§fn clone(&self) -> LimitSupport
fn clone(&self) -> LimitSupport
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 LimitSupport
impl Debug for LimitSupport
source§impl Default for LimitSupport
impl Default for LimitSupport
source§fn default() -> LimitSupport
fn default() -> LimitSupport
Returns the “default value” for a type. Read more
source§impl Hash for LimitSupport
impl Hash for LimitSupport
source§impl PartialEq for LimitSupport
impl PartialEq for LimitSupport
source§fn eq(&self, other: &LimitSupport) -> bool
fn eq(&self, other: &LimitSupport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LimitSupport
impl StructuralPartialEq for LimitSupport
Auto Trait Implementations§
impl Freeze for LimitSupport
impl RefUnwindSafe for LimitSupport
impl Send for LimitSupport
impl Sync for LimitSupport
impl Unpin for LimitSupport
impl UnwindSafe for LimitSupport
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 moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.