Struct erupt::extensions::khr_swapchain::SwapchainKHR
source · #[repr(transparent)]pub struct SwapchainKHR(pub u64);
Expand description
Vulkan Manual Page · Non-dispatchable Handle
Tuple Fields
0: u64
Trait Implementations
sourceimpl Clone for SwapchainKHR
impl Clone for SwapchainKHR
sourcefn clone(&self) -> SwapchainKHR
fn clone(&self) -> SwapchainKHR
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 SwapchainKHR
impl Debug for SwapchainKHR
sourceimpl Default for SwapchainKHR
impl Default for SwapchainKHR
sourcefn default() -> SwapchainKHR
fn default() -> SwapchainKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for SwapchainKHR
impl Hash for SwapchainKHR
sourceimpl ObjectHandle for SwapchainKHR
impl ObjectHandle for SwapchainKHR
sourceconst TYPE: ObjectType = crate::vk1_0::ObjectType::SWAPCHAIN_KHR
const TYPE: ObjectType = crate::vk1_0::ObjectType::SWAPCHAIN_KHR
An abstract object type.
sourcefn is_null(self) -> bool
fn is_null(self) -> bool
Is this handle null /
Default::default
?sourceimpl Ord for SwapchainKHR
impl Ord for SwapchainKHR
sourcefn cmp(&self, other: &SwapchainKHR) -> Ordering
fn cmp(&self, other: &SwapchainKHR) -> 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<SwapchainKHR> for SwapchainKHR
impl PartialEq<SwapchainKHR> for SwapchainKHR
sourcefn eq(&self, other: &SwapchainKHR) -> bool
fn eq(&self, other: &SwapchainKHR) -> bool
sourceimpl PartialOrd<SwapchainKHR> for SwapchainKHR
impl PartialOrd<SwapchainKHR> for SwapchainKHR
sourcefn partial_cmp(&self, other: &SwapchainKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &SwapchainKHR) -> 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 SwapchainKHR
impl Pointer for SwapchainKHR
impl Copy for SwapchainKHR
impl Eq for SwapchainKHR
impl StructuralEq for SwapchainKHR
impl StructuralPartialEq for SwapchainKHR
Auto Trait Implementations
impl RefUnwindSafe for SwapchainKHR
impl Send for SwapchainKHR
impl Sync for SwapchainKHR
impl Unpin for SwapchainKHR
impl UnwindSafe for SwapchainKHR
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