pub struct Turn {
pub quarters: u8,
pub flipped: bool,
}Expand description
How the compositor turned a captured buffer, as wl_output.transform
says: rotated counter-clockwise by a quarter turn or more, and flipped
around the vertical axis before that.
Fields§
§quarters: u8Quarter turns counter-clockwise, 0 to 3.
flipped: boolFlipped around the vertical axis first.
Trait Implementations§
impl Copy for Turn
impl Eq for Turn
impl StructuralPartialEq for Turn
Auto Trait Implementations§
impl Forget for Turn
impl Freeze for Turn
impl Move for Turn
impl RefUnwindSafe for Turn
impl Send for Turn
impl Sync for Turn
impl Unpin for Turn
impl UnsafeUnpin for Turn
impl UnwindSafe for Turn
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