#[non_exhaustive]pub struct PresentationHint(pub u32);Expand description
presentation hint values
This enum provides information for if submitted frames from the client may be presented with tearing.
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 PresentationHint
impl PresentationHint
Trait Implementations§
Source§impl Clone for PresentationHint
impl Clone for PresentationHint
Source§fn clone(&self) -> PresentationHint
fn clone(&self) -> PresentationHint
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 PresentationHint
impl Debug for PresentationHint
Source§impl From<PresentationHint> for u32
impl From<PresentationHint> for u32
Source§fn from(val: PresentationHint) -> u32
fn from(val: PresentationHint) -> u32
Converts to this type from the input type.
Source§impl Hash for PresentationHint
impl Hash for PresentationHint
Source§impl Ord for PresentationHint
impl Ord for PresentationHint
Source§fn cmp(&self, other: &PresentationHint) -> Ordering
fn cmp(&self, other: &PresentationHint) -> 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 PresentationHint
impl PartialEq for PresentationHint
Source§impl PartialOrd for PresentationHint
impl PartialOrd for PresentationHint
Source§impl TryFrom<u32> for PresentationHint
impl TryFrom<u32> for PresentationHint
impl Copy for PresentationHint
impl Eq for PresentationHint
impl StructuralPartialEq for PresentationHint
Auto Trait Implementations§
impl Freeze for PresentationHint
impl RefUnwindSafe for PresentationHint
impl Send for PresentationHint
impl Sync for PresentationHint
impl Unpin for PresentationHint
impl UnsafeUnpin for PresentationHint
impl UnwindSafe for PresentationHint
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