Struct objc2_metal::MTLFeatureSet
source ยท #[repr(transparent)]pub struct MTLFeatureSet(pub NSUInteger);๐Deprecated: Use MTLGPUFamily instead
Available on crate feature
MTLDevice only.Tuple Fieldsยง
ยง0: NSUInteger๐Deprecated: Use MTLGPUFamily instead
Implementationsยง
sourceยงimpl MTLFeatureSet
impl MTLFeatureSet
pub const _iOS_GPUFamily1_v1: Self = _
pub const _iOS_GPUFamily2_v1: Self = _
pub const _iOS_GPUFamily1_v2: Self = _
pub const _iOS_GPUFamily2_v2: Self = _
pub const _iOS_GPUFamily3_v1: Self = _
pub const _iOS_GPUFamily1_v3: Self = _
pub const _iOS_GPUFamily2_v3: Self = _
pub const _iOS_GPUFamily3_v2: Self = _
pub const _iOS_GPUFamily1_v4: Self = _
pub const _iOS_GPUFamily2_v4: Self = _
pub const _iOS_GPUFamily3_v3: Self = _
pub const _iOS_GPUFamily4_v1: Self = _
pub const _iOS_GPUFamily1_v5: Self = _
pub const _iOS_GPUFamily2_v5: Self = _
pub const _iOS_GPUFamily3_v4: Self = _
pub const _iOS_GPUFamily4_v2: Self = _
pub const _iOS_GPUFamily5_v1: Self = _
pub const _macOS_GPUFamily1_v1: Self = _
pub const _OSX_GPUFamily1_v1: Self = _
pub const _macOS_GPUFamily1_v2: Self = _
pub const _OSX_GPUFamily1_v2: Self = _
pub const _macOS_ReadWriteTextureTier2: Self = _
pub const _OSX_ReadWriteTextureTier2: Self = _
pub const _macOS_GPUFamily1_v3: Self = _
pub const _macOS_GPUFamily1_v4: Self = _
pub const _macOS_GPUFamily2_v1: Self = _
pub const _tvOS_GPUFamily1_v1: Self = _
pub const _TVOS_GPUFamily1_v1: Self = _
pub const _tvOS_GPUFamily1_v2: Self = _
pub const _tvOS_GPUFamily1_v3: Self = _
pub const _tvOS_GPUFamily2_v1: Self = _
pub const _tvOS_GPUFamily1_v4: Self = _
pub const _tvOS_GPUFamily2_v2: Self = _
Trait Implementationsยง
sourceยงimpl Clone for MTLFeatureSet
impl Clone for MTLFeatureSet
sourceยงfn clone(&self) -> MTLFeatureSet
fn clone(&self) -> MTLFeatureSet
Returns a copy 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 MTLFeatureSet
impl Debug for MTLFeatureSet
sourceยงimpl Encode for MTLFeatureSet
impl Encode for MTLFeatureSet
sourceยงimpl Hash for MTLFeatureSet
impl Hash for MTLFeatureSet
sourceยงimpl Ord for MTLFeatureSet
impl Ord for MTLFeatureSet
sourceยงfn cmp(&self, other: &MTLFeatureSet) -> Ordering
fn cmp(&self, other: &MTLFeatureSet) -> 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 MTLFeatureSet
impl PartialEq for MTLFeatureSet
sourceยงfn eq(&self, other: &MTLFeatureSet) -> bool
fn eq(&self, other: &MTLFeatureSet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.sourceยงimpl PartialOrd for MTLFeatureSet
impl PartialOrd for MTLFeatureSet
sourceยงfn partial_cmp(&self, other: &MTLFeatureSet) -> Option<Ordering>
fn partial_cmp(&self, other: &MTLFeatureSet) -> Option<Ordering>
1.0.0 ยท sourceยงfn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceยงimpl RefEncode for MTLFeatureSet
impl RefEncode for MTLFeatureSet
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 MTLFeatureSet
impl Eq for MTLFeatureSet
impl StructuralPartialEq for MTLFeatureSet
Auto Trait Implementationsยง
impl Freeze for MTLFeatureSet
impl RefUnwindSafe for MTLFeatureSet
impl Send for MTLFeatureSet
impl Sync for MTLFeatureSet
impl Unpin for MTLFeatureSet
impl UnwindSafe for MTLFeatureSet
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> 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.