Struct manganis_cli_support::VideoOptions
source · pub struct VideoOptions { /* private fields */ }Expand description
The options for a video asset
Implementations§
source§impl VideoOptions
impl VideoOptions
sourcepub fn new(ty: VideoType) -> VideoOptions
pub fn new(ty: VideoType) -> VideoOptions
Creates a new video options struct
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<VideoOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<VideoOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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