#[repr(transparent)]pub struct MPSRayMaskOperator(pub NSUInteger);👎Deprecated
Available on crate feature
MPSRayIntersector only.Expand description
Options for the MPSRayIntersector ray mask operator property
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger👎Deprecated
Implementations§
Source§impl MPSRayMaskOperator
impl MPSRayMaskOperator
Sourcepub const NotAnd: Self
👎Deprecated
pub const NotAnd: Self
Accept the intersection if ~(primitive mask & ray mask) != 0.
Sourcepub const NotOr: Self
👎Deprecated
pub const NotOr: Self
Accept the intersection if ~(primitive mask | ray mask) != 0.
Sourcepub const NotXor: Self
👎Deprecated
pub const NotXor: Self
Accept the intersection if ~(primitive mask ^ ray mask) != 0.
Sourcepub const LessThanOrEqualTo: Self
👎Deprecated
pub const LessThanOrEqualTo: Self
Accept the intersection if primitive mask < = ray mask.
Sourcepub const GreaterThan: Self
👎Deprecated
pub const GreaterThan: Self
Accept the intersection if primitive mask > ray mask.
Sourcepub const GreaterThanOrEqualTo: Self
👎Deprecated
pub const GreaterThanOrEqualTo: Self
Accept the intersection if primitive mask >= ray mask.
Trait Implementations§
Source§impl Clone for MPSRayMaskOperator
impl Clone for MPSRayMaskOperator
Source§fn clone(&self) -> MPSRayMaskOperator
fn clone(&self) -> MPSRayMaskOperator
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 MPSRayMaskOperator
impl Debug for MPSRayMaskOperator
Source§impl Encode for MPSRayMaskOperator
impl Encode for MPSRayMaskOperator
Source§impl Hash for MPSRayMaskOperator
impl Hash for MPSRayMaskOperator
Source§impl Ord for MPSRayMaskOperator
impl Ord for MPSRayMaskOperator
Source§fn cmp(&self, other: &MPSRayMaskOperator) -> Ordering
fn cmp(&self, other: &MPSRayMaskOperator) -> 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 MPSRayMaskOperator
impl PartialEq for MPSRayMaskOperator
Source§impl PartialOrd for MPSRayMaskOperator
impl PartialOrd for MPSRayMaskOperator
Source§impl RefEncode for MPSRayMaskOperator
impl RefEncode for MPSRayMaskOperator
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 MPSRayMaskOperator
impl Eq for MPSRayMaskOperator
impl StructuralPartialEq for MPSRayMaskOperator
Auto Trait Implementations§
impl Freeze for MPSRayMaskOperator
impl RefUnwindSafe for MPSRayMaskOperator
impl Send for MPSRayMaskOperator
impl Sync for MPSRayMaskOperator
impl Unpin for MPSRayMaskOperator
impl UnwindSafe for MPSRayMaskOperator
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.