pub struct DisplayRotation {
pub counter_clockwise_degrees: f64,
pub flipped: bool,
}Expand description
The rotation a display matrix asks for, in FFmpeg’s convention.
Fields§
§counter_clockwise_degrees: f64Counter-clockwise angle in degrees, in [-180, 180]
(av_display_rotation_get).
flipped: boolWhether the matrix also mirrors the picture. The matrix is then this rotation followed by a horizontal flip, and the angle is the rotation left once that flip is removed.
Trait Implementations§
Source§impl Clone for DisplayRotation
impl Clone for DisplayRotation
impl Copy for DisplayRotation
Source§impl Debug for DisplayRotation
impl Debug for DisplayRotation
Source§impl PartialEq for DisplayRotation
impl PartialEq for DisplayRotation
impl StructuralPartialEq for DisplayRotation
Auto Trait Implementations§
impl Freeze for DisplayRotation
impl RefUnwindSafe for DisplayRotation
impl Send for DisplayRotation
impl Sync for DisplayRotation
impl Unpin for DisplayRotation
impl UnsafeUnpin for DisplayRotation
impl UnwindSafe for DisplayRotation
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