#[repr(C, packed(1))]pub struct QuadTessellationFactorsHalf {
pub edge_tessellation_factor: [u16; 4],
pub inside_tessellation_factor: [u16; 2],
}Expand description
Quad tessellation factors (half precision).
C++ equivalent: MTL::QuadTessellationFactorsHalf
Fields§
§edge_tessellation_factor: [u16; 4]§inside_tessellation_factor: [u16; 2]Trait Implementations§
Source§impl Clone for QuadTessellationFactorsHalf
impl Clone for QuadTessellationFactorsHalf
Source§fn clone(&self) -> QuadTessellationFactorsHalf
fn clone(&self) -> QuadTessellationFactorsHalf
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 QuadTessellationFactorsHalf
impl Debug for QuadTessellationFactorsHalf
Source§impl Default for QuadTessellationFactorsHalf
impl Default for QuadTessellationFactorsHalf
Source§fn default() -> QuadTessellationFactorsHalf
fn default() -> QuadTessellationFactorsHalf
Returns the “default value” for a type. Read more
Source§impl Hash for QuadTessellationFactorsHalf
impl Hash for QuadTessellationFactorsHalf
impl Copy for QuadTessellationFactorsHalf
impl Eq for QuadTessellationFactorsHalf
impl StructuralPartialEq for QuadTessellationFactorsHalf
Auto Trait Implementations§
impl Freeze for QuadTessellationFactorsHalf
impl RefUnwindSafe for QuadTessellationFactorsHalf
impl Send for QuadTessellationFactorsHalf
impl Sync for QuadTessellationFactorsHalf
impl Unpin for QuadTessellationFactorsHalf
impl UnwindSafe for QuadTessellationFactorsHalf
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