Struct manganis_common::VideoOptions
source · pub struct VideoOptions { /* private fields */ }
Expand description
The options for a video asset
Implementations§
source§impl VideoOptions
impl VideoOptions
sourcepub fn set_compress(&mut self, compress: bool)
pub fn set_compress(&mut self, compress: bool)
Sets whether the video should be compressed
Trait Implementations§
source§impl Clone for VideoOptions
impl Clone for VideoOptions
source§fn clone(&self) -> VideoOptions
fn clone(&self) -> VideoOptions
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 Debug for VideoOptions
impl Debug for VideoOptions
source§impl<'de> Deserialize<'de> for VideoOptions
impl<'de> Deserialize<'de> for VideoOptions
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
source§impl Display for VideoOptions
impl Display for VideoOptions
source§impl Hash for VideoOptions
impl Hash for VideoOptions
source§impl PartialEq for VideoOptions
impl PartialEq for VideoOptions
source§fn eq(&self, other: &VideoOptions) -> bool
fn eq(&self, other: &VideoOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VideoOptions
impl PartialOrd for VideoOptions
source§fn partial_cmp(&self, other: &VideoOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &VideoOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for VideoOptions
impl Serialize for VideoOptions
impl StructuralPartialEq for VideoOptions
Auto Trait Implementations§
impl Freeze for VideoOptions
impl RefUnwindSafe for VideoOptions
impl Send for VideoOptions
impl Sync for VideoOptions
impl Unpin for VideoOptions
impl UnwindSafe for VideoOptions
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