Struct screen_13::prelude::vk::DisplayModeKHR
source · pub struct DisplayModeKHR(_);Expand description
Implementations
sourceimpl DisplayModeKHR
impl DisplayModeKHR
pub const fn null() -> DisplayModeKHR
Trait Implementations
sourceimpl Clone for DisplayModeKHR
impl Clone for DisplayModeKHR
sourcefn clone(&self) -> DisplayModeKHR
fn clone(&self) -> DisplayModeKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DisplayModeKHR
impl Debug for DisplayModeKHR
sourceimpl Default for DisplayModeKHR
impl Default for DisplayModeKHR
sourcefn default() -> DisplayModeKHR
fn default() -> DisplayModeKHR
Returns the “default value” for a type. Read more
sourceimpl Handle for DisplayModeKHR
impl Handle for DisplayModeKHR
const TYPE: ObjectType = ObjectType::DISPLAY_MODE_KHR
fn as_raw(self) -> u64
fn from_raw(x: u64) -> DisplayModeKHR
sourceimpl Hash for DisplayModeKHR
impl Hash for DisplayModeKHR
sourceimpl Ord for DisplayModeKHR
impl Ord for DisplayModeKHR
sourcefn cmp(&self, other: &DisplayModeKHR) -> Ordering
fn cmp(&self, other: &DisplayModeKHR) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DisplayModeKHR> for DisplayModeKHR
impl PartialEq<DisplayModeKHR> for DisplayModeKHR
sourcefn eq(&self, other: &DisplayModeKHR) -> bool
fn eq(&self, other: &DisplayModeKHR) -> bool
sourceimpl PartialOrd<DisplayModeKHR> for DisplayModeKHR
impl PartialOrd<DisplayModeKHR> for DisplayModeKHR
sourcefn partial_cmp(&self, other: &DisplayModeKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayModeKHR) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl Pointer for DisplayModeKHR
impl Pointer for DisplayModeKHR
impl Copy for DisplayModeKHR
impl Eq for DisplayModeKHR
impl StructuralEq for DisplayModeKHR
impl StructuralPartialEq for DisplayModeKHR
Auto Trait Implementations
impl RefUnwindSafe for DisplayModeKHR
impl Send for DisplayModeKHR
impl Sync for DisplayModeKHR
impl Unpin for DisplayModeKHR
impl UnwindSafe for DisplayModeKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more