Struct erupt::vk1_1::TessellationDomainOrigin
source · #[repr(transparent)]pub struct TessellationDomainOrigin(pub i32);
Expand description
Vulkan Manual Page · Enum
Tuple Fields
0: i32
Implementations
sourceimpl TessellationDomainOrigin
impl TessellationDomainOrigin
Provided by crate::extensions::khr_maintenance2
pub const UPPER_LEFT_KHR: Self = Self::UPPER_LEFT
pub const LOWER_LEFT_KHR: Self = Self::LOWER_LEFT
sourceimpl TessellationDomainOrigin
impl TessellationDomainOrigin
Provided by crate::vk1_1
pub const UPPER_LEFT: Self = _
pub const LOWER_LEFT: Self = _
Trait Implementations
sourceimpl Clone for TessellationDomainOrigin
impl Clone for TessellationDomainOrigin
sourcefn clone(&self) -> TessellationDomainOrigin
fn clone(&self) -> TessellationDomainOrigin
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 TessellationDomainOrigin
impl Debug for TessellationDomainOrigin
sourceimpl Default for TessellationDomainOrigin
impl Default for TessellationDomainOrigin
sourcefn default() -> TessellationDomainOrigin
fn default() -> TessellationDomainOrigin
Returns the “default value” for a type. Read more
sourceimpl Hash for TessellationDomainOrigin
impl Hash for TessellationDomainOrigin
sourceimpl Ord for TessellationDomainOrigin
impl Ord for TessellationDomainOrigin
sourcefn cmp(&self, other: &TessellationDomainOrigin) -> Ordering
fn cmp(&self, other: &TessellationDomainOrigin) -> 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<TessellationDomainOrigin> for TessellationDomainOrigin
impl PartialEq<TessellationDomainOrigin> for TessellationDomainOrigin
sourcefn eq(&self, other: &TessellationDomainOrigin) -> bool
fn eq(&self, other: &TessellationDomainOrigin) -> bool
sourceimpl PartialOrd<TessellationDomainOrigin> for TessellationDomainOrigin
impl PartialOrd<TessellationDomainOrigin> for TessellationDomainOrigin
sourcefn partial_cmp(&self, other: &TessellationDomainOrigin) -> Option<Ordering>
fn partial_cmp(&self, other: &TessellationDomainOrigin) -> 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 moreimpl Copy for TessellationDomainOrigin
impl Eq for TessellationDomainOrigin
impl StructuralEq for TessellationDomainOrigin
impl StructuralPartialEq for TessellationDomainOrigin
Auto Trait Implementations
impl RefUnwindSafe for TessellationDomainOrigin
impl Send for TessellationDomainOrigin
impl Sync for TessellationDomainOrigin
impl Unpin for TessellationDomainOrigin
impl UnwindSafe for TessellationDomainOrigin
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