[][src]Trait tiff::encoder::TiffValue

pub trait TiffValue {
    pub const BYTE_LEN: u32;
    pub const FIELD_TYPE: Type;

    pub fn count(&self) -> u32;
pub fn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>; pub fn bytes(&self) -> u32 { ... } }

Trait for types that can be encoded in a tiff file

Associated Constants

pub const BYTE_LEN: u32[src]

pub const FIELD_TYPE: Type[src]

Loading content...

Required methods

pub fn count(&self) -> u32[src]

pub fn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>[src]

Loading content...

Provided methods

pub fn bytes(&self) -> u32[src]

Loading content...

Implementations on Foreign Types

impl TiffValue for [u8][src]

impl TiffValue for [i8][src]

impl TiffValue for [u16][src]

impl TiffValue for [i16][src]

impl TiffValue for [u32][src]

impl TiffValue for [i32][src]

impl TiffValue for [u64][src]

impl TiffValue for [f32][src]

impl TiffValue for [f64][src]

impl TiffValue for [Rational][src]

impl TiffValue for [SRational][src]

impl TiffValue for u8[src]

impl TiffValue for i8[src]

impl TiffValue for u16[src]

impl TiffValue for i16[src]

impl TiffValue for u32[src]

impl TiffValue for i32[src]

impl TiffValue for u64[src]

impl TiffValue for f32[src]

impl TiffValue for f64[src]

impl TiffValue for str[src]

impl<'a, T: TiffValue + ?Sized> TiffValue for &'a T[src]

Loading content...

Implementors

impl TiffValue for Rational[src]

impl TiffValue for SRational[src]

Loading content...