Struct chromiumoxide::cdp::browser_protocol::system_info::VideoDecodeAcceleratorCapabilityBuilder
source · pub struct VideoDecodeAcceleratorCapabilityBuilder { /* private fields */ }
Implementations§
source§impl VideoDecodeAcceleratorCapabilityBuilder
impl VideoDecodeAcceleratorCapabilityBuilder
pub fn profile( self, profile: impl Into<String>, ) -> VideoDecodeAcceleratorCapabilityBuilder
pub fn max_resolution( self, max_resolution: impl Into<Size>, ) -> VideoDecodeAcceleratorCapabilityBuilder
pub fn min_resolution( self, min_resolution: impl Into<Size>, ) -> VideoDecodeAcceleratorCapabilityBuilder
pub fn build(self) -> Result<VideoDecodeAcceleratorCapability, String>
Trait Implementations§
source§impl Clone for VideoDecodeAcceleratorCapabilityBuilder
impl Clone for VideoDecodeAcceleratorCapabilityBuilder
source§fn clone(&self) -> VideoDecodeAcceleratorCapabilityBuilder
fn clone(&self) -> VideoDecodeAcceleratorCapabilityBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for VideoDecodeAcceleratorCapabilityBuilder
impl Default for VideoDecodeAcceleratorCapabilityBuilder
source§fn default() -> VideoDecodeAcceleratorCapabilityBuilder
fn default() -> VideoDecodeAcceleratorCapabilityBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VideoDecodeAcceleratorCapabilityBuilder
impl RefUnwindSafe for VideoDecodeAcceleratorCapabilityBuilder
impl Send for VideoDecodeAcceleratorCapabilityBuilder
impl Sync for VideoDecodeAcceleratorCapabilityBuilder
impl Unpin for VideoDecodeAcceleratorCapabilityBuilder
impl UnwindSafe for VideoDecodeAcceleratorCapabilityBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)