#[repr(transparent)]pub struct MTLCurveEndCaps(pub NSInteger);Available on crate feature
MTLAccelerationStructure only.Expand description
Type of end cap to insert at the beginning and end of each connected sequence of curve segments.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for MTLCurveEndCaps
impl Clone for MTLCurveEndCaps
Source§fn clone(&self) -> MTLCurveEndCaps
fn clone(&self) -> MTLCurveEndCaps
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 MTLCurveEndCaps
impl Debug for MTLCurveEndCaps
Source§impl Encode for MTLCurveEndCaps
impl Encode for MTLCurveEndCaps
Source§impl Hash for MTLCurveEndCaps
impl Hash for MTLCurveEndCaps
Source§impl Ord for MTLCurveEndCaps
impl Ord for MTLCurveEndCaps
Source§fn cmp(&self, other: &MTLCurveEndCaps) -> Ordering
fn cmp(&self, other: &MTLCurveEndCaps) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for MTLCurveEndCaps
impl PartialEq for MTLCurveEndCaps
Source§impl PartialOrd for MTLCurveEndCaps
impl PartialOrd for MTLCurveEndCaps
Source§impl RefEncode for MTLCurveEndCaps
impl RefEncode for MTLCurveEndCaps
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLCurveEndCaps
impl Eq for MTLCurveEndCaps
impl StructuralPartialEq for MTLCurveEndCaps
Auto Trait Implementations§
impl Freeze for MTLCurveEndCaps
impl RefUnwindSafe for MTLCurveEndCaps
impl Send for MTLCurveEndCaps
impl Sync for MTLCurveEndCaps
impl Unpin for MTLCurveEndCaps
impl UnwindSafe for MTLCurveEndCaps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.