#[repr(transparent)]pub struct TessellationFactorStepFunction(pub UInteger);Expand description
Tessellation factor step function.
C++ equivalent: MTL::TessellationFactorStepFunction
Tuple Fields§
§0: UIntegerImplementations§
Source§impl TessellationFactorStepFunction
impl TessellationFactorStepFunction
pub const CONSTANT: Self
pub const PER_PATCH: Self
pub const PER_INSTANCE: Self
pub const PER_PATCH_AND_PER_INSTANCE: Self
Trait Implementations§
Source§impl Clone for TessellationFactorStepFunction
impl Clone for TessellationFactorStepFunction
Source§fn clone(&self) -> TessellationFactorStepFunction
fn clone(&self) -> TessellationFactorStepFunction
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 Default for TessellationFactorStepFunction
impl Default for TessellationFactorStepFunction
Source§fn default() -> TessellationFactorStepFunction
fn default() -> TessellationFactorStepFunction
Returns the “default value” for a type. Read more
Source§impl PartialEq for TessellationFactorStepFunction
impl PartialEq for TessellationFactorStepFunction
Source§fn eq(&self, other: &TessellationFactorStepFunction) -> bool
fn eq(&self, other: &TessellationFactorStepFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TessellationFactorStepFunction
impl Eq for TessellationFactorStepFunction
impl StructuralPartialEq for TessellationFactorStepFunction
Auto Trait Implementations§
impl Freeze for TessellationFactorStepFunction
impl RefUnwindSafe for TessellationFactorStepFunction
impl Send for TessellationFactorStepFunction
impl Sync for TessellationFactorStepFunction
impl Unpin for TessellationFactorStepFunction
impl UnwindSafe for TessellationFactorStepFunction
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