#[non_exhaustive]pub enum Value {
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Byte(u8)
Short(u16)
Signed(i32)
SignedBig(i64)
Unsigned(u32)
UnsignedBig(u64)
Float(f32)
Double(f64)
List(Vec<Value>)
Rational(u32, u32)
RationalBig(u64, u64)
SRational(i32, i32)
SRationalBig(i64, i64)
Ascii(String)
Ifd(u32)
IfdBig(u64)
Implementations§
source§impl Value
impl Value
pub fn into_u8(self) -> TiffResult<u8>
pub fn into_u16(self) -> TiffResult<u16>
pub fn into_u32(self) -> TiffResult<u32>
pub fn into_i32(self) -> TiffResult<i32>
pub fn into_u64(self) -> TiffResult<u64>
pub fn into_i64(self) -> TiffResult<i64>
pub fn into_f32(self) -> TiffResult<f32>
pub fn into_f64(self) -> TiffResult<f64>
pub fn into_string(self) -> TiffResult<String>
pub fn into_u32_vec(self) -> TiffResult<Vec<u32>>
pub fn into_u8_vec(self) -> TiffResult<Vec<u8>>
pub fn into_u16_vec(self) -> TiffResult<Vec<u16>>
pub fn into_i32_vec(self) -> TiffResult<Vec<i32>>
pub fn into_f32_vec(self) -> TiffResult<Vec<f32>>
pub fn into_f64_vec(self) -> TiffResult<Vec<f64>>
pub fn into_u64_vec(self) -> TiffResult<Vec<u64>>
pub fn into_i64_vec(self) -> TiffResult<Vec<i64>>
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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