#[repr(transparent)]pub struct GPUFamily(pub Integer);Expand description
GPU family.
C++ equivalent: MTL::GPUFamily
Tuple Fields§
§0: IntegerImplementations§
Source§impl GPUFamily
impl GPUFamily
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
pub const MAC2: Self
pub const COMMON1: Self
pub const COMMON2: Self
pub const COMMON3: Self
pub const MAC_CATALYST1: Self
pub const MAC_CATALYST2: Self
pub const METAL3: Self
pub const METAL4: Self
Trait Implementations§
impl Copy for GPUFamily
impl Eq for GPUFamily
impl StructuralPartialEq for GPUFamily
Auto Trait Implementations§
impl Freeze for GPUFamily
impl RefUnwindSafe for GPUFamily
impl Send for GPUFamily
impl Sync for GPUFamily
impl Unpin for GPUFamily
impl UnwindSafe for GPUFamily
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