#[repr(transparent)]pub struct DeviceLocation(pub UInteger);Expand description
Device location.
C++ equivalent: MTL::DeviceLocation
Tuple Fields§
§0: UIntegerImplementations§
Trait Implementations§
Source§impl Clone for DeviceLocation
impl Clone for DeviceLocation
Source§fn clone(&self) -> DeviceLocation
fn clone(&self) -> DeviceLocation
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 DeviceLocation
impl Debug for DeviceLocation
Source§impl Default for DeviceLocation
impl Default for DeviceLocation
Source§fn default() -> DeviceLocation
fn default() -> DeviceLocation
Returns the “default value” for a type. Read more
Source§impl Hash for DeviceLocation
impl Hash for DeviceLocation
Source§impl PartialEq for DeviceLocation
impl PartialEq for DeviceLocation
impl Copy for DeviceLocation
impl Eq for DeviceLocation
impl StructuralPartialEq for DeviceLocation
Auto Trait Implementations§
impl Freeze for DeviceLocation
impl RefUnwindSafe for DeviceLocation
impl Send for DeviceLocation
impl Sync for DeviceLocation
impl Unpin for DeviceLocation
impl UnwindSafe for DeviceLocation
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