#[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
Source§fn clone(&self) -> moq_video_properties
fn clone(&self) -> moq_video_properties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for moq_video_properties
Source§impl Default for moq_video_properties
impl Default for moq_video_properties
Source§fn default() -> moq_video_properties
fn default() -> moq_video_properties
Returns the “default value” for a type. Read more
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