Struct objc2_metal::MTLGPUFamily
source · #[repr(transparent)]pub struct MTLGPUFamily(pub NSInteger);Available on crate feature
MTLDevice only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl MTLGPUFamily
impl MTLGPUFamily
pub const Apple1: Self = _
pub const Apple2: Self = _
pub const Apple3: Self = _
pub const Apple4: Self = _
pub const Apple5: Self = _
pub const Apple6: Self = _
pub const Apple7: Self = _
pub const Apple8: Self = _
pub const Apple9: Self = _
pub const Mac1: Self = _
👎Deprecated
pub const Mac2: Self = _
pub const Common1: Self = _
pub const Common2: Self = _
pub const Common3: Self = _
pub const MacCatalyst1: Self = _
👎Deprecated
pub const MacCatalyst2: Self = _
👎Deprecated
pub const Metal3: Self = _
Trait Implementations§
source§impl Clone for MTLGPUFamily
impl Clone for MTLGPUFamily
source§fn clone(&self) -> MTLGPUFamily
fn clone(&self) -> MTLGPUFamily
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 MTLGPUFamily
impl Debug for MTLGPUFamily
source§impl Encode for MTLGPUFamily
impl Encode for MTLGPUFamily
source§impl Hash for MTLGPUFamily
impl Hash for MTLGPUFamily
source§impl Ord for MTLGPUFamily
impl Ord for MTLGPUFamily
source§fn cmp(&self, other: &MTLGPUFamily) -> Ordering
fn cmp(&self, other: &MTLGPUFamily) -> 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 MTLGPUFamily
impl PartialEq for MTLGPUFamily
source§fn eq(&self, other: &MTLGPUFamily) -> bool
fn eq(&self, other: &MTLGPUFamily) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MTLGPUFamily
impl PartialOrd for MTLGPUFamily
source§fn partial_cmp(&self, other: &MTLGPUFamily) -> Option<Ordering>
fn partial_cmp(&self, other: &MTLGPUFamily) -> 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 MTLGPUFamily
impl RefEncode for MTLGPUFamily
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 MTLGPUFamily
impl Eq for MTLGPUFamily
impl StructuralPartialEq for MTLGPUFamily
Auto Trait Implementations§
impl Freeze for MTLGPUFamily
impl RefUnwindSafe for MTLGPUFamily
impl Send for MTLGPUFamily
impl Sync for MTLGPUFamily
impl Unpin for MTLGPUFamily
impl UnwindSafe for MTLGPUFamily
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.