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