[][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

Loading content...

Required methods

fn count(&self) -> u32

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

Loading content...

Provided methods

fn bytes(&self) -> u32

Loading content...

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]

Loading content...

Implementors

impl TiffValue for Rational[src]

Loading content...