#[non_exhaustive]
pub enum VideoFormat {
Show 113 variants Unknown, Encoded, I420, Yv12, Yuy2, Uyvy, Ayuv, Rgbx, Bgrx, Xrgb, Xbgr, Rgba, Bgra, Argb, Abgr, Rgb, Bgr, Y41b, Y42b, Yvyu, Y444, V210, V216, Nv12, Nv21, Gray8, Gray16Be, Gray16Le, V308, Rgb16, Bgr16, Rgb15, Bgr15, Uyvp, A420, Rgb8p, Yuv9, Yvu9, Iyu1, Argb64, Ayuv64, R210, I42010be, I42010le, I42210be, I42210le, Y44410be, Y44410le, Gbr, Gbr10be, Gbr10le, Nv16, Nv24, Nv1264z32, A42010be, A42010le, A42210be, A42210le, A44410be, A44410le, Nv61, P01010be, P01010le, Iyu2, Vyuy, Gbra, Gbra10be, Gbra10le, Gbr12be, Gbr12le, Gbra12be, Gbra12le, I42012be, I42012le, I42212be, I42212le, Y44412be, Y44412le, Gray10Le32, Nv1210le32, Nv1610le32, Nv1210le40, Y210, Y410, Vuya, Bgr10a2Le, Rgb10a2Le, Y44416be, Y44416le, P016Be, P016Le, P012Be, P012Le, Y212Be, Y212Le, Y412Be, Y412Le, Nv124l4, Nv1232l32, Rgbp, Bgrp, Av12, Argb64Le, Argb64Be, Rgba64Le, Rgba64Be, Bgra64Le, Bgra64Be, Abgr64Le, Abgr64Be, Nv1216l32s, Nv128l128, Nv1210be8l128, // some variants omitted
}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Unknown

§

Encoded

§

I420

§

Yv12

§

Yuy2

§

Uyvy

§

Ayuv

§

Rgbx

§

Bgrx

§

Xrgb

§

Xbgr

§

Rgba

§

Bgra

§

Argb

§

Abgr

§

Rgb

§

Bgr

§

Y41b

§

Y42b

§

Yvyu

§

Y444

§

V210

§

V216

§

Nv12

§

Nv21

§

Gray8

§

Gray16Be

§

Gray16Le

§

V308

§

Rgb16

§

Bgr16

§

Rgb15

§

Bgr15

§

Uyvp

§

A420

§

Rgb8p

§

Yuv9

§

Yvu9

§

Iyu1

§

Argb64

§

Ayuv64

§

R210

§

I42010be

§

I42010le

§

I42210be

§

I42210le

§

Y44410be

§

Y44410le

§

Gbr

§

Gbr10be

§

Gbr10le

§

Nv16

§

Nv24

§

Nv1264z32

§

A42010be

§

A42010le

§

A42210be

§

A42210le

§

A44410be

§

A44410le

§

Nv61

§

P01010be

§

P01010le

§

Iyu2

§

Vyuy

§

Gbra

§

Gbra10be

§

Gbra10le

§

Gbr12be

§

Gbr12le

§

Gbra12be

§

Gbra12le

§

I42012be

§

I42012le

§

I42212be

§

I42212le

§

Y44412be

§

Y44412le

§

Gray10Le32

§

Nv1210le32

§

Nv1610le32

§

Nv1210le40

Available on crate feature v1_16 only.
§

Y210

Available on crate feature v1_16 only.
§

Y410

Available on crate feature v1_16 only.
§

Vuya

Available on crate feature v1_16 only.
§

Bgr10a2Le

Available on crate feature v1_16 only.
§

Rgb10a2Le

Available on crate feature v1_18 only.
§

Y44416be

Available on crate feature v1_18 only.
§

Y44416le

Available on crate feature v1_18 only.
§

P016Be

Available on crate feature v1_18 only.
§

P016Le

Available on crate feature v1_18 only.
§

P012Be

Available on crate feature v1_18 only.
§

P012Le

Available on crate feature v1_18 only.
§

Y212Be

Available on crate feature v1_18 only.
§

Y212Le

Available on crate feature v1_18 only.
§

Y412Be

Available on crate feature v1_18 only.
§

Y412Le

Available on crate feature v1_18 only.
§

Nv124l4

Available on crate feature v1_18 only.
§

Nv1232l32

Available on crate feature v1_18 only.
§

Rgbp

Available on crate feature v1_20 only.
§

Bgrp

Available on crate feature v1_20 only.
§

Av12

Available on crate feature v1_20 only.
§

Argb64Le

Available on crate feature v1_20 only.
§

Argb64Be

Available on crate feature v1_20 only.
§

Rgba64Le

Available on crate feature v1_20 only.
§

Rgba64Be

Available on crate feature v1_20 only.
§

Bgra64Le

Available on crate feature v1_20 only.
§

Bgra64Be

Available on crate feature v1_20 only.
§

Abgr64Le

Available on crate feature v1_20 only.
§

Abgr64Be

Available on crate feature v1_20 only.
§

Nv1216l32s

Available on crate feature v1_22 only.
§

Nv128l128

Available on crate feature v1_22 only.
§

Nv1210be8l128

Available on crate feature v1_22 only.

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
Value type checker.
Get the contained value from a Value. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Returns the type identifier of Self.
Convert a value to a Value.
Returns the type identifer of self. Read more
Type to get the Type from. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Ensures that the type has been registered with the type system.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Returns a SendValue clone of self.
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.