pub struct WlOutputTransform(pub u32);Expand description
transformation applied to buffer contents
This describes transformations that clients and compositors apply to buffer contents.
The flipped values correspond to an initial flip around a vertical axis followed by rotation.
The purpose is mainly to allow clients to render accordingly and tell the compositor, so that for fullscreen surfaces, the compositor will still be able to scan out directly from client surfaces.
Tuple Fields§
§0: u32Implementations§
Source§impl WlOutputTransform
impl WlOutputTransform
Sourcepub const FLIPPED_90: Self
pub const FLIPPED_90: Self
flip and rotate 90 degrees counter-clockwise
Sourcepub const FLIPPED_180: Self
pub const FLIPPED_180: Self
flip and rotate 180 degrees counter-clockwise
Sourcepub const FLIPPED_270: Self
pub const FLIPPED_270: Self
flip and rotate 270 degrees counter-clockwise
Trait Implementations§
Source§impl Clone for WlOutputTransform
impl Clone for WlOutputTransform
Source§fn clone(&self) -> WlOutputTransform
fn clone(&self) -> WlOutputTransform
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WlOutputTransform
impl Debug for WlOutputTransform
Source§impl Hash for WlOutputTransform
impl Hash for WlOutputTransform
Source§impl Ord for WlOutputTransform
impl Ord for WlOutputTransform
Source§fn cmp(&self, other: &WlOutputTransform) -> Ordering
fn cmp(&self, other: &WlOutputTransform) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WlOutputTransform
impl PartialEq for WlOutputTransform
Source§impl PartialOrd for WlOutputTransform
impl PartialOrd for WlOutputTransform
impl Copy for WlOutputTransform
impl Eq for WlOutputTransform
impl StructuralPartialEq for WlOutputTransform
Auto Trait Implementations§
impl Freeze for WlOutputTransform
impl RefUnwindSafe for WlOutputTransform
impl Send for WlOutputTransform
impl Sync for WlOutputTransform
impl Unpin for WlOutputTransform
impl UnwindSafe for WlOutputTransform
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