#[repr(transparent)]pub struct MTLGPUFamily(pub NSInteger);Available on crate feature
MTLDevice only.Expand description
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 Apple10: 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
pub const Metal4: Self
Trait Implementations§
Source§impl Clone for MTLGPUFamily
impl Clone for MTLGPUFamily
Source§fn clone(&self) -> MTLGPUFamily
fn clone(&self) -> MTLGPUFamily
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 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§impl PartialOrd for MTLGPUFamily
impl PartialOrd for MTLGPUFamily
Source§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> 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.