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

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