AsImage

Trait AsImage 

Source
pub trait AsImage {
    // Required method
    fn as_image(&self) -> Cow<'_, [u8]>;
}
Available on crate feature input only.
Expand description

画像データを Cow<[u8]> に変換するトレイト。

Required Methods§

Source

fn as_image(&self) -> Cow<'_, [u8]>

Implementations on Foreign Types§

Source§

impl AsImage for &[u8]

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Cow<'_, [u8]>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<(i16, i16, i16)>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<(u8, u8, u8)>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<(u8, u8, u8, u8)>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<(u16, u16, u16, u16)>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<(f16, f16, f16, f16)>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<i16>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<u8>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<u16>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<Yc48>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for Vec<f16>

Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for ImageBuffer<Rgb<u16>, Vec<u16>>

Available on crate feature image only.
Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for ImageBuffer<Rgba<u16>, Vec<u16>>

Available on crate feature image only.
Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for RgbImage

Available on crate feature image only.
Source§

fn as_image(&self) -> Cow<'_, [u8]>

Source§

impl AsImage for RgbaImage

Available on crate feature image only.
Source§

fn as_image(&self) -> Cow<'_, [u8]>

Implementors§

Source§

impl AsImage for aviutl2::input::ImageBuffer