[][src]Struct tiff_encoder::ifd::types::SBYTE

pub struct SBYTE(pub i8);

8-bit signed (twos-complement) integer.

Methods

impl SBYTE[src]

pub fn values<T: AsRef<[i8]>>(values: T) -> TiffTypeValues<SBYTE>[src]

Constructs a TiffTypeValues of SBYTEs from a vector of i8.

pub fn single(value: i8) -> TiffTypeValues<SBYTE>[src]

Constructs a TiffTypeValues consisting of a single SBYTE.

In other words, marks this SBYTE as the single value of its field.

Trait Implementations

impl TiffType for SBYTE[src]

impl PartialEq<SBYTE> for SBYTE[src]

impl Debug for SBYTE[src]

Auto Trait Implementations

impl Send for SBYTE

impl Sync for SBYTE

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]