pub trait PixAlphaAble: Copy {
    // Required methods
    fn pal_index(&self) -> usize;
    fn is_transparent(&self, transparent_index: Option<u8>) -> bool;
}

Required Methods§

source

fn pal_index(&self) -> usize

source

fn is_transparent(&self, transparent_index: Option<u8>) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PixAlphaAble for u8

source§

fn pal_index(&self) -> usize

source§

fn is_transparent(&self, transparent_index: Option<u8>) -> bool

Implementors§