#[repr(C)]pub struct moq_video_properties {
pub display_width: u32,
pub display_height: u32,
pub has_display: bool,
pub rotation: f64,
pub has_rotation: bool,
pub flip: bool,
pub has_flip: bool,
}Expand description
Catalog properties shared by every video rendition.
A false has_* flag clears that field from the next catalog rather than preserving its previous value.
Fields§
§display_width: u32Final rendered width in pixels when has_display is true.
display_height: u32Final rendered height in pixels when has_display is true.
has_display: boolWhether display_width and display_height are present.
rotation: f64Clockwise rotation in degrees when has_rotation is true.
has_rotation: boolWhether rotation is present.
flip: boolWhether to flip horizontally after rotation when has_flip is true.
has_flip: boolWhether flip is present.
Trait Implementations§
Source§impl Clone for moq_video_properties
impl Clone for moq_video_properties
impl Copy for moq_video_properties
Auto Trait Implementations§
impl Freeze for moq_video_properties
impl RefUnwindSafe for moq_video_properties
impl Send for moq_video_properties
impl Sync for moq_video_properties
impl Unpin for moq_video_properties
impl UnsafeUnpin for moq_video_properties
impl UnwindSafe for moq_video_properties
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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