Enum crabgrab::feature::bitmap::FrameBitmap

source ·
pub enum FrameBitmap<DataBgra: BitmapDataBgra8x4, DataArgbPacked: BitmapDataArgbUnormPacked2101010, DataRgbaF16: BitmapDataRgbaF16x4, DataLuma: BitmapDataLuma, DataChroma: BitmapDataChroma> {
    BgraUnorm8x4(FrameBitmapBgraUnorm8x4<DataBgra>),
    ArgbUnormPacked2101010(FrameBitmapArgbUnormPacked2101010<DataArgbPacked>),
    RgbaF16x4(FrameBitmapRgbaF16x4<DataRgbaF16>),
    YCbCr(FrameBitmapYCbCr<DataLuma, DataChroma>),
}
Expand description

A bitmap image of the selected format

Variants§

§

BgraUnorm8x4(FrameBitmapBgraUnorm8x4<DataBgra>)

§

ArgbUnormPacked2101010(FrameBitmapArgbUnormPacked2101010<DataArgbPacked>)

§

RgbaF16x4(FrameBitmapRgbaF16x4<DataRgbaF16>)

§

YCbCr(FrameBitmapYCbCr<DataLuma, DataChroma>)

Auto Trait Implementations§

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> Freeze for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataBgra: Freeze, DataArgbPacked: Freeze, DataRgbaF16: Freeze, DataLuma: Freeze, DataChroma: Freeze,

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> RefUnwindSafe for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataBgra: RefUnwindSafe, DataArgbPacked: RefUnwindSafe, DataRgbaF16: RefUnwindSafe, DataLuma: RefUnwindSafe, DataChroma: RefUnwindSafe,

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> Send for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataBgra: Send, DataArgbPacked: Send, DataRgbaF16: Send, DataLuma: Send, DataChroma: Send,

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> Sync for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataBgra: Sync, DataArgbPacked: Sync, DataRgbaF16: Sync, DataLuma: Sync, DataChroma: Sync,

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> Unpin for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataBgra: Unpin, DataArgbPacked: Unpin, DataRgbaF16: Unpin, DataLuma: Unpin, DataChroma: Unpin,

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> UnwindSafe for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataBgra: UnwindSafe, DataArgbPacked: UnwindSafe, DataRgbaF16: UnwindSafe, DataLuma: UnwindSafe, DataChroma: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,

§

impl<T> WasmNotSend for T
where T: Send,

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,