#[repr(u32)]pub enum MetalPlatform {
iOS = 0,
MacOS = 1,
}Available on crate feature
msl only.Expand description
The platform that the Metal runtime will be on.
Variants§
Trait Implementations§
Source§impl Clone for MetalPlatform
impl Clone for MetalPlatform
Source§fn clone(&self) -> MetalPlatform
fn clone(&self) -> MetalPlatform
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 MetalPlatform
impl Debug for MetalPlatform
Source§impl From<MetalPlatform> for u32
impl From<MetalPlatform> for u32
Source§fn from(value: MetalPlatform) -> Self
fn from(value: MetalPlatform) -> Self
Converts to this type from the input type.
impl Copy for MetalPlatform
Auto Trait Implementations§
impl Freeze for MetalPlatform
impl RefUnwindSafe for MetalPlatform
impl Send for MetalPlatform
impl Sync for MetalPlatform
impl Unpin for MetalPlatform
impl UnwindSafe for MetalPlatform
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