[][src]Enum psd::PsdChannelCompression

pub enum PsdChannelCompression {
    RawData,
    RleCompressed,
    ZipWithoutPrediction,
    ZipWithPrediction,
}

Indicates how a channe'sl data is compressed

Variants

RawData

Not compressed

RleCompressed

Compressed using PackBits RLE compression

ZipWithoutPrediction

Currently unsupported

ZipWithPrediction

Currently unsupported

Implementations

impl PsdChannelCompression[src]

pub fn new(compression: u16) -> Result<PsdChannelCompression, Error>[src]

Create a new PsdLayerChannelCompression

Trait Implementations

impl Debug for PsdChannelCompression[src]

impl Eq for PsdChannelCompression[src]

impl PartialEq<PsdChannelCompression> for PsdChannelCompression[src]

impl StructuralEq for PsdChannelCompression[src]

impl StructuralPartialEq for PsdChannelCompression[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.