pub struct PresentModeKHR(/* private fields */);Expand description
Implementations§
Source§impl PresentModeKHR
impl PresentModeKHR
pub const IMMEDIATE: PresentModeKHR
pub const MAILBOX: PresentModeKHR
pub const FIFO: PresentModeKHR
pub const FIFO_RELAXED: PresentModeKHR
pub const SHARED_DEMAND_REFRESH: PresentModeKHR
pub const SHARED_CONTINUOUS_REFRESH: PresentModeKHR
pub const fn from_raw(value: i32) -> PresentModeKHR
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for PresentModeKHR
impl Clone for PresentModeKHR
Source§fn clone(&self) -> PresentModeKHR
fn clone(&self) -> PresentModeKHR
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 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 Display for PresentModeKHR
impl Display for PresentModeKHR
Source§impl Error for PresentModeKHR
impl Error for PresentModeKHR
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
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§impl PartialOrd for PresentModeKHR
impl PartialOrd for PresentModeKHR
impl 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 UnsafeUnpin 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