Struct ash::vk::PresentModeKHR
source · #[repr(transparent)]pub struct PresentModeKHR(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl PresentModeKHR
impl PresentModeKHR
Generated from ‘VK_KHR_shared_presentable_image’
pub const SHARED_DEMAND_REFRESH: Self = _
pub const SHARED_CONTINUOUS_REFRESH: Self = _
Trait Implementations§
source§impl Clone for PresentModeKHR
impl Clone for PresentModeKHR
source§fn clone(&self) -> PresentModeKHR
fn clone(&self) -> PresentModeKHR
Returns a copy 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 PresentModeKHR
impl Debug for PresentModeKHR
source§impl Default for PresentModeKHR
impl Default for PresentModeKHR
source§fn default() -> PresentModeKHR
fn default() -> PresentModeKHR
Returns the “default value” for a type. Read more
source§impl Hash for PresentModeKHR
impl Hash for PresentModeKHR
source§impl Ord for PresentModeKHR
impl Ord for PresentModeKHR
source§fn cmp(&self, other: &PresentModeKHR) -> Ordering
fn cmp(&self, other: &PresentModeKHR) -> 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 PresentModeKHR
impl PartialEq for PresentModeKHR
source§fn eq(&self, other: &PresentModeKHR) -> bool
fn eq(&self, other: &PresentModeKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PresentModeKHR
impl PartialOrd for PresentModeKHR
source§fn partial_cmp(&self, other: &PresentModeKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &PresentModeKHR) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for PresentModeKHR
impl Eq for PresentModeKHR
impl StructuralPartialEq for PresentModeKHR
Auto Trait Implementations§
impl Freeze for PresentModeKHR
impl RefUnwindSafe for PresentModeKHR
impl Send for PresentModeKHR
impl Sync for PresentModeKHR
impl Unpin for PresentModeKHR
impl UnwindSafe for PresentModeKHR
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