pub struct Profile {
pub name: String,
pub device: DeviceClass,
pub description: String,
pub vmaf_model: String,
pub max_res: Resolution,
pub resolutions: Vec<Resolution>,
pub codecs: Vec<Codec>,
pub ladder_opts: Opts,
}Expand description
Encoding constraints and quality targets for a device class.
Fields§
§name: String§device: DeviceClass§description: String§vmaf_model: String§max_res: Resolution§resolutions: Vec<Resolution>§codecs: Vec<Codec>§ladder_opts: OptsTrait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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