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

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

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

Trait for types that can be encoded in a tiff file

Associated Constants

const BYTE_LEN: u32

const FIELD_TYPE: Type

Required methods

fn count(&self) -> u32

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

Provided methods

fn bytes(&self) -> u32

Implementations on Foreign Types

impl TiffValue for [u8][src][]

impl TiffValue for [u16][src][]

impl TiffValue for [u32][src][]

impl TiffValue for [Rational][src][]

impl TiffValue for u8[src][]

impl TiffValue for u16[src][]

impl TiffValue for u32[src][]

impl TiffValue for str[src][]

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

Implementors

impl TiffValue for Rational[src][]