Struct chrome_remote_interface_model::system_info::ImageDecodeAcceleratorCapability[][src]

pub struct ImageDecodeAcceleratorCapability { /* fields omitted */ }

Describes a supported image decoding profile with its associated minimum and maximum resolutions and subsampling.

Implementations

impl ImageDecodeAcceleratorCapability[src]

pub fn builder() -> ImageDecodeAcceleratorCapabilityBuilder[src]

pub fn image_type(&self) -> &ImageType[src]

Image coded, e.g. Jpeg.

pub fn max_dimensions(&self) -> &Size[src]

Maximum supported dimensions of the image in pixels.

pub fn min_dimensions(&self) -> &Size[src]

Minimum supported dimensions of the image in pixels.

pub fn subsamplings(&self) -> &[SubsamplingFormat]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

Optional array of supported subsampling formats, e.g. 4:2:0, if known.

Trait Implementations

impl Clone for ImageDecodeAcceleratorCapability[src]

impl Debug for ImageDecodeAcceleratorCapability[src]

impl<'de> Deserialize<'de> for ImageDecodeAcceleratorCapability[src]

impl Serialize for ImageDecodeAcceleratorCapability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.