#[non_exhaustive]pub struct FullscreenMethod(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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u32Implementations§
Source§impl FullscreenMethod
impl FullscreenMethod
Trait Implementations§
Source§impl Clone for FullscreenMethod
impl Clone for FullscreenMethod
Source§fn clone(&self) -> FullscreenMethod
fn clone(&self) -> FullscreenMethod
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 FullscreenMethod
impl Debug for FullscreenMethod
Source§impl From<FullscreenMethod> for u32
impl From<FullscreenMethod> for u32
Source§fn from(val: FullscreenMethod) -> u32
fn from(val: FullscreenMethod) -> u32
Converts to this type from the input type.
Source§impl Hash for FullscreenMethod
impl Hash for FullscreenMethod
Source§impl Ord for FullscreenMethod
impl Ord for FullscreenMethod
Source§fn cmp(&self, other: &FullscreenMethod) -> Ordering
fn cmp(&self, other: &FullscreenMethod) -> 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 FullscreenMethod
impl PartialEq for FullscreenMethod
Source§impl PartialOrd for FullscreenMethod
impl PartialOrd for FullscreenMethod
Source§impl TryFrom<u32> for FullscreenMethod
impl TryFrom<u32> for FullscreenMethod
impl Copy for FullscreenMethod
impl Eq for FullscreenMethod
impl StructuralPartialEq for FullscreenMethod
Auto Trait Implementations§
impl Freeze for FullscreenMethod
impl RefUnwindSafe for FullscreenMethod
impl Send for FullscreenMethod
impl Sync for FullscreenMethod
impl Unpin for FullscreenMethod
impl UnsafeUnpin for FullscreenMethod
impl UnwindSafe for FullscreenMethod
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