#[non_exhaustive]pub struct VideoProperties {
pub display: Option<Display>,
pub rotation: Option<f64>,
pub flip: Option<bool>,
}Expand description
Catalog properties shared by every video rendition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.display: Option<Display>Render the video at this final size after rotation, or clear the explicit size when absent.
rotation: Option<f64>Apply this clockwise rotation before rendering, or clear it when absent. Values are normalized to the nearest quarter turn.
flip: Option<bool>Flip horizontally after rotation, or clear the explicit value when absent.
Trait Implementations§
Source§impl Clone for VideoProperties
impl Clone for VideoProperties
Source§impl Debug for VideoProperties
impl Debug for VideoProperties
Source§impl Default for VideoProperties
impl Default for VideoProperties
Source§impl PartialEq for VideoProperties
impl PartialEq for VideoProperties
impl StructuralPartialEq for VideoProperties
Auto Trait Implementations§
impl Freeze for VideoProperties
impl RefUnwindSafe for VideoProperties
impl Send for VideoProperties
impl Sync for VideoProperties
impl Unpin for VideoProperties
impl UnsafeUnpin for VideoProperties
impl UnwindSafe for VideoProperties
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