pub struct Metal;Trait Implementations§
impl Copy for Metal
Source§impl OpToCPP<Metal> for AtomicLoadOp
impl OpToCPP<Metal> for AtomicLoadOp
Source§impl OpToCPP<Metal> for AtomicStoreOp
impl OpToCPP<Metal> for AtomicStoreOp
Source§impl OpToCPP<Metal> for AtomicExchangeOp
impl OpToCPP<Metal> for AtomicExchangeOp
Source§impl OpToCPP<Metal> for AtomicCompareExchangeWeakOp
impl OpToCPP<Metal> for AtomicCompareExchangeWeakOp
Source§impl OpToCPP<Metal> for AtomicIAddOp
impl OpToCPP<Metal> for AtomicIAddOp
Source§impl OpToCPP<Metal> for AtomicFAddOp
impl OpToCPP<Metal> for AtomicFAddOp
Source§impl OpToCPP<Metal> for AtomicISubOp
impl OpToCPP<Metal> for AtomicISubOp
Source§impl OpToCPP<Metal> for AtomicFSubOp
impl OpToCPP<Metal> for AtomicFSubOp
Source§impl OpToCPP<Metal> for AtomicSMinOp
impl OpToCPP<Metal> for AtomicSMinOp
Source§impl OpToCPP<Metal> for AtomicUMinOp
impl OpToCPP<Metal> for AtomicUMinOp
Source§impl OpToCPP<Metal> for AtomicFMinOp
impl OpToCPP<Metal> for AtomicFMinOp
Source§impl OpToCPP<Metal> for AtomicSMaxOp
impl OpToCPP<Metal> for AtomicSMaxOp
Source§impl OpToCPP<Metal> for AtomicUMaxOp
impl OpToCPP<Metal> for AtomicUMaxOp
Source§impl OpToCPP<Metal> for AtomicFMaxOp
impl OpToCPP<Metal> for AtomicFMaxOp
Source§impl OpToCPP<Metal> for AtomicAndOp
impl OpToCPP<Metal> for AtomicAndOp
Source§impl OpToCPP<Metal> for AtomicOrOp
impl OpToCPP<Metal> for AtomicOrOp
Source§impl OpToCPP<Metal> for AtomicXorOp
impl OpToCPP<Metal> for AtomicXorOp
Source§impl OpToCPP<Metal> for SaturatingSAddOp
impl OpToCPP<Metal> for SaturatingSAddOp
Source§impl OpToCPP<Metal> for SaturatingUAddOp
impl OpToCPP<Metal> for SaturatingUAddOp
Source§impl OpToCPP<Metal> for SaturatingSSubOp
impl OpToCPP<Metal> for SaturatingSSubOp
Source§impl OpToCPP<Metal> for SaturatingUSubOp
impl OpToCPP<Metal> for SaturatingUSubOp
Source§impl OpToCPP<Metal> for ReadDim3BuiltinOp
impl OpToCPP<Metal> for ReadDim3BuiltinOp
Source§impl OpToCPP<Metal> for DeclareMatrixOp
impl OpToCPP<Metal> for DeclareMatrixOp
Source§impl OpToCPP<Metal> for MultiplyAccumulateOp
impl OpToCPP<Metal> for MultiplyAccumulateOp
Source§impl OpToCPP<Metal> for BroadcastOp
impl OpToCPP<Metal> for BroadcastOp
Source§impl OpToCPP<Metal> for ShuffleXorOp
impl OpToCPP<Metal> for ShuffleXorOp
Source§impl OpToCPP<Metal> for ShuffleUpOp
impl OpToCPP<Metal> for ShuffleUpOp
Source§impl OpToCPP<Metal> for ShuffleDownOp
impl OpToCPP<Metal> for ShuffleDownOp
Source§impl OpToCPP<Metal> for MslBallotOp
impl OpToCPP<Metal> for MslBallotOp
Source§impl OpToCPP<Metal> for InclusiveISumOp
impl OpToCPP<Metal> for InclusiveISumOp
Source§impl OpToCPP<Metal> for InclusiveFSumOp
impl OpToCPP<Metal> for InclusiveFSumOp
Source§impl OpToCPP<Metal> for InclusiveIProdOp
impl OpToCPP<Metal> for InclusiveIProdOp
Source§impl OpToCPP<Metal> for InclusiveFProdOp
impl OpToCPP<Metal> for InclusiveFProdOp
Source§impl OpToCPP<Metal> for ExclusiveISumOp
impl OpToCPP<Metal> for ExclusiveISumOp
Source§impl OpToCPP<Metal> for ExclusiveFSumOp
impl OpToCPP<Metal> for ExclusiveFSumOp
Source§impl OpToCPP<Metal> for ExclusiveIProdOp
impl OpToCPP<Metal> for ExclusiveIProdOp
Source§impl OpToCPP<Metal> for ExclusiveFProdOp
impl OpToCPP<Metal> for ExclusiveFProdOp
Source§impl OpToCPP<Metal> for LoadInfoOp
impl OpToCPP<Metal> for LoadInfoOp
Source§impl OpToCPP<Metal> for CountOnesOp
impl OpToCPP<Metal> for CountOnesOp
Source§impl OpToCPP<Metal> for ReverseBitsOp
impl OpToCPP<Metal> for ReverseBitsOp
Source§impl OpToCPP<Metal> for LeadingZerosBitsOp
impl OpToCPP<Metal> for LeadingZerosBitsOp
Source§impl OpToCPP<Metal> for TrailingZerosBitsOp
impl OpToCPP<Metal> for TrailingZerosBitsOp
Source§impl OpToCPP<Metal> for ReinterpretCastOp
impl OpToCPP<Metal> for ReinterpretCastOp
Source§impl OpToCPP<Metal> for MagnitudeOp
impl OpToCPP<Metal> for MagnitudeOp
Source§impl OpToCPP<Metal> for NormalizeOp
impl OpToCPP<Metal> for NormalizeOp
Source§impl OpToCPP<Metal> for CompositeInsertOp
impl OpToCPP<Metal> for CompositeInsertOp
Source§impl OpToCPP<Metal> for VectorInsertDynamicOp
impl OpToCPP<Metal> for VectorInsertDynamicOp
Source§impl OpToCPP<Metal> for VectorExtractDynamicOp
impl OpToCPP<Metal> for VectorExtractDynamicOp
Source§impl RequiresIncludesType<Metal> for PointerType
impl RequiresIncludesType<Metal> for PointerType
Source§impl RequiresIncludesType<Metal> for ArrayType
impl RequiresIncludesType<Metal> for ArrayType
Source§impl RequiresIncludesType<Metal> for RuntimeArrayType
impl RequiresIncludesType<Metal> for RuntimeArrayType
Source§impl RequiresIncludesType<Metal> for VectorType
impl RequiresIncludesType<Metal> for VectorType
Source§impl TypeToCPP<Metal> for MatrixType
impl TypeToCPP<Metal> for MatrixType
Source§impl TypeToCPP<Metal> for Float16Type
impl TypeToCPP<Metal> for Float16Type
Source§impl TypeToCPP<Metal> for BFloat16Type
impl TypeToCPP<Metal> for BFloat16Type
Source§impl TypeToCPP<Metal> for Float8E4M3Type
impl TypeToCPP<Metal> for Float8E4M3Type
Source§impl TypeToCPP<Metal> for Float8E5M2Type
impl TypeToCPP<Metal> for Float8E5M2Type
Source§impl TypeToCPP<Metal> for PointerType
impl TypeToCPP<Metal> for PointerType
Source§impl TypeToCPP<Metal> for UniformPointerType
impl TypeToCPP<Metal> for UniformPointerType
Auto Trait Implementations§
impl Freeze for Metal
impl RefUnwindSafe for Metal
impl Send for Metal
impl Sync for Metal
impl Unpin for Metal
impl UnsafeUnpin for Metal
impl UnwindSafe for Metal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneExpand for Twhere
T: Clone,
impl<T> CloneExpand for Twhere
T: Clone,
fn __expand_clone_method(&self, _: &Scope) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more