#[repr(C, packed(1))]pub struct TriangleTessellationFactorsHalf {
pub edge_tessellation_factor: [u16; 3],
pub inside_tessellation_factor: u16,
}Expand description
Triangle tessellation factors (half precision).
C++ equivalent: MTL::TriangleTessellationFactorsHalf
Fields§
§edge_tessellation_factor: [u16; 3]§inside_tessellation_factor: u16Trait Implementations§
Source§impl Clone for TriangleTessellationFactorsHalf
impl Clone for TriangleTessellationFactorsHalf
Source§fn clone(&self) -> TriangleTessellationFactorsHalf
fn clone(&self) -> TriangleTessellationFactorsHalf
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 TriangleTessellationFactorsHalf
impl Default for TriangleTessellationFactorsHalf
Source§fn default() -> TriangleTessellationFactorsHalf
fn default() -> TriangleTessellationFactorsHalf
Returns the “default value” for a type. Read more
Source§impl PartialEq for TriangleTessellationFactorsHalf
impl PartialEq for TriangleTessellationFactorsHalf
Source§fn eq(&self, other: &TriangleTessellationFactorsHalf) -> bool
fn eq(&self, other: &TriangleTessellationFactorsHalf) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TriangleTessellationFactorsHalf
impl Eq for TriangleTessellationFactorsHalf
impl StructuralPartialEq for TriangleTessellationFactorsHalf
Auto Trait Implementations§
impl Freeze for TriangleTessellationFactorsHalf
impl RefUnwindSafe for TriangleTessellationFactorsHalf
impl Send for TriangleTessellationFactorsHalf
impl Sync for TriangleTessellationFactorsHalf
impl Unpin for TriangleTessellationFactorsHalf
impl UnwindSafe for TriangleTessellationFactorsHalf
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