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