#[repr(transparent)]pub struct MetalDeviceLocation(pub usize);Expand description
Re-exports the Metal framework surface for this item.
Mirrors the Metal framework counterpart for MetalDeviceLocation.
Mirrors the Metal framework counterpart for this type.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for MetalDeviceLocation
impl Clone for MetalDeviceLocation
Source§fn clone(&self) -> MetalDeviceLocation
fn clone(&self) -> MetalDeviceLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetalDeviceLocation
Source§impl Debug for MetalDeviceLocation
impl Debug for MetalDeviceLocation
Source§impl Default for MetalDeviceLocation
impl Default for MetalDeviceLocation
Source§fn default() -> MetalDeviceLocation
fn default() -> MetalDeviceLocation
Returns the “default value” for a type. Read more
impl Eq for MetalDeviceLocation
Source§impl Hash for MetalDeviceLocation
impl Hash for MetalDeviceLocation
Source§impl PartialEq for MetalDeviceLocation
impl PartialEq for MetalDeviceLocation
Source§fn eq(&self, other: &MetalDeviceLocation) -> bool
fn eq(&self, other: &MetalDeviceLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetalDeviceLocation
Auto Trait Implementations§
impl Freeze for MetalDeviceLocation
impl RefUnwindSafe for MetalDeviceLocation
impl Send for MetalDeviceLocation
impl Sync for MetalDeviceLocation
impl Unpin for MetalDeviceLocation
impl UnsafeUnpin for MetalDeviceLocation
impl UnwindSafe for MetalDeviceLocation
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