Struct chrome_remote_interface_model::system_info::VideoDecodeAcceleratorCapability[][src]

pub struct VideoDecodeAcceleratorCapability { /* fields omitted */ }

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

Implementations

impl VideoDecodeAcceleratorCapability[src]

pub fn new(profile: String, max_resolution: Size, min_resolution: Size) -> Self[src]

pub fn profile(&self) -> &str[src]

Video codec profile that is supported, e.g. VP9 Profile 2.

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

Maximum video dimensions in pixels supported for this |profile|.

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

Minimum video dimensions in pixels supported for this |profile|.

Trait Implementations

impl Clone for VideoDecodeAcceleratorCapability[src]

impl Debug for VideoDecodeAcceleratorCapability[src]

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

impl Serialize for VideoDecodeAcceleratorCapability[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.