pub struct VideoEncodeAcceleratorCapability {
pub profile: String,
pub max_resolution: Size,
pub max_framerate_numerator: JsUInt,
pub max_framerate_denominator: JsUInt,
}Fields§
§profile: String§max_resolution: Size§max_framerate_numerator: JsUInt§max_framerate_denominator: JsUIntTrait Implementations§
Source§impl Clone for VideoEncodeAcceleratorCapability
impl Clone for VideoEncodeAcceleratorCapability
Source§fn clone(&self) -> VideoEncodeAcceleratorCapability
fn clone(&self) -> VideoEncodeAcceleratorCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for VideoEncodeAcceleratorCapability
impl<'de> Deserialize<'de> for VideoEncodeAcceleratorCapability
Source§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
impl StructuralPartialEq for VideoEncodeAcceleratorCapability
Auto Trait Implementations§
impl Freeze for VideoEncodeAcceleratorCapability
impl RefUnwindSafe for VideoEncodeAcceleratorCapability
impl Send for VideoEncodeAcceleratorCapability
impl Sync for VideoEncodeAcceleratorCapability
impl Unpin for VideoEncodeAcceleratorCapability
impl UnsafeUnpin for VideoEncodeAcceleratorCapability
impl UnwindSafe for VideoEncodeAcceleratorCapability
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more