#[repr(transparent)]pub struct TessellationPartitionMode(pub UInteger);Expand description
Tessellation partition mode.
C++ equivalent: MTL::TessellationPartitionMode
Tuple Fields§
§0: UIntegerImplementations§
Source§impl TessellationPartitionMode
impl TessellationPartitionMode
pub const POW2: Self
pub const INTEGER: Self
pub const FRACTIONAL_ODD: Self
pub const FRACTIONAL_EVEN: Self
Trait Implementations§
Source§impl Clone for TessellationPartitionMode
impl Clone for TessellationPartitionMode
Source§fn clone(&self) -> TessellationPartitionMode
fn clone(&self) -> TessellationPartitionMode
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 TessellationPartitionMode
impl Debug for TessellationPartitionMode
Source§impl Default for TessellationPartitionMode
impl Default for TessellationPartitionMode
Source§fn default() -> TessellationPartitionMode
fn default() -> TessellationPartitionMode
Returns the “default value” for a type. Read more
Source§impl Hash for TessellationPartitionMode
impl Hash for TessellationPartitionMode
impl Copy for TessellationPartitionMode
impl Eq for TessellationPartitionMode
impl StructuralPartialEq for TessellationPartitionMode
Auto Trait Implementations§
impl Freeze for TessellationPartitionMode
impl RefUnwindSafe for TessellationPartitionMode
impl Send for TessellationPartitionMode
impl Sync for TessellationPartitionMode
impl Unpin for TessellationPartitionMode
impl UnwindSafe for TessellationPartitionMode
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