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 DataArgbPacked: Freeze, DataBgra: Freeze, DataChroma: Freeze, DataLuma: Freeze, DataRgbaF16: Freeze,

§

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

§

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

§

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

§

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

§

impl<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma> UnwindSafe for FrameBitmap<DataBgra, DataArgbPacked, DataRgbaF16, DataLuma, DataChroma>
where DataArgbPacked: UnwindSafe, DataBgra: UnwindSafe, DataChroma: UnwindSafe, DataLuma: UnwindSafe, DataRgbaF16: 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.
§

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,