pub struct WlShellSurfaceFullscreenMethod(pub u32);Expand description
different method to set the surface fullscreen
Hints to indicate to the compositor how to deal with a conflict between the dimensions of the surface and the dimensions of the output. The compositor is free to ignore this parameter.
Tuple Fields§
§0: u32Implementations§
Source§impl WlShellSurfaceFullscreenMethod
impl WlShellSurfaceFullscreenMethod
Trait Implementations§
Source§impl Clone for WlShellSurfaceFullscreenMethod
impl Clone for WlShellSurfaceFullscreenMethod
Source§fn clone(&self) -> WlShellSurfaceFullscreenMethod
fn clone(&self) -> WlShellSurfaceFullscreenMethod
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 Ord for WlShellSurfaceFullscreenMethod
impl Ord for WlShellSurfaceFullscreenMethod
Source§fn cmp(&self, other: &WlShellSurfaceFullscreenMethod) -> Ordering
fn cmp(&self, other: &WlShellSurfaceFullscreenMethod) -> 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 WlShellSurfaceFullscreenMethod
impl PartialEq for WlShellSurfaceFullscreenMethod
Source§fn eq(&self, other: &WlShellSurfaceFullscreenMethod) -> bool
fn eq(&self, other: &WlShellSurfaceFullscreenMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WlShellSurfaceFullscreenMethod
impl PartialOrd for WlShellSurfaceFullscreenMethod
impl Copy for WlShellSurfaceFullscreenMethod
impl Eq for WlShellSurfaceFullscreenMethod
impl StructuralPartialEq for WlShellSurfaceFullscreenMethod
Auto Trait Implementations§
impl Freeze for WlShellSurfaceFullscreenMethod
impl RefUnwindSafe for WlShellSurfaceFullscreenMethod
impl Send for WlShellSurfaceFullscreenMethod
impl Sync for WlShellSurfaceFullscreenMethod
impl Unpin for WlShellSurfaceFullscreenMethod
impl UnwindSafe for WlShellSurfaceFullscreenMethod
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