Struct chromiumoxide_cdp::cdp::browser_protocol::system_info::ImageDecodeAcceleratorCapability [−][src]
pub struct ImageDecodeAcceleratorCapability { pub image_type: ImageType, pub max_dimensions: Size, pub min_dimensions: Size, pub subsamplings: Vec<SubsamplingFormat>, }
Expand description
Describes a supported image decoding profile with its associated minimum and maximum resolutions and subsampling. ImageDecodeAcceleratorCapability
Fields
image_type: ImageType
Image coded, e.g. Jpeg.
max_dimensions: Size
Maximum supported dimensions of the image in pixels.
min_dimensions: Size
Minimum supported dimensions of the image in pixels.
subsamplings: Vec<SubsamplingFormat>
Optional array of supported subsampling formats, e.g. 4:2:0, if known.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ImageDecodeAcceleratorCapability
impl Sync for ImageDecodeAcceleratorCapability
impl Unpin for ImageDecodeAcceleratorCapability
Blanket Implementations
Mutably borrows from an owned value. Read more