Skip to main content

IntoMut

Trait IntoMut 

Source
pub trait IntoMut: Sized {
    // Required method
    fn into_mut(self, scope: &Scope) -> Self;
}
Expand description

Convert an expand type to a version with mutable registers when necessary.

Required Methods§

Source

fn into_mut(self, scope: &Scope) -> Self

Convert the variable into a potentially new mutable variable in scope, copying if needed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoMut for ()

Source§

fn into_mut(self, _: &Scope)

Source§

impl IntoMut for ComptimeEventBusExpand

Source§

impl IntoMut for DynamicRankStridedLayoutExpand

Source§

impl IntoMut for KnownScaleExpand

Source§

impl IntoMut for LinearViewLayoutExpand

Source§

impl IntoMut for PermutedLayoutExpand

Source§

impl IntoMut for PlainLayoutExpand

Source§

impl IntoMut for SimpleLayoutExpand

Source§

impl IntoMut for StridedLayoutExpand

Source§

impl IntoMut for SwizzleExpand

Source§

fn into_mut(self, scope: &Scope) -> SwizzleExpand

Source§

impl IntoMut for TiledLayoutExpand

Source§

impl IntoMut for TiledViewLayoutExpand

Source§

impl IntoMut for bf16

Source§

fn into_mut(self, _scope: &Scope) -> bf16

Source§

impl IntoMut for f16

Source§

fn into_mut(self, _scope: &Scope) -> f16

Source§

impl IntoMut for f32

Source§

fn into_mut(self, _scope: &Scope) -> f32

Source§

impl IntoMut for f64

Source§

fn into_mut(self, _scope: &Scope) -> f64

Source§

impl IntoMut for i8

Source§

fn into_mut(self, _scope: &Scope) -> i8

Source§

impl IntoMut for i16

Source§

fn into_mut(self, _scope: &Scope) -> i16

Source§

impl IntoMut for i32

Source§

fn into_mut(self, _scope: &Scope) -> i32

Source§

impl IntoMut for i64

Source§

fn into_mut(self, _scope: &Scope) -> i64

Source§

impl IntoMut for isize

Source§

fn into_mut(self, _scope: &Scope) -> isize

Source§

impl IntoMut for u8

Source§

fn into_mut(self, _scope: &Scope) -> u8

Source§

impl IntoMut for u16

Source§

fn into_mut(self, _scope: &Scope) -> u16

Source§

impl IntoMut for u32

Source§

fn into_mut(self, _scope: &Scope) -> u32

Source§

impl IntoMut for u64

Source§

fn into_mut(self, _scope: &Scope) -> u64

Source§

impl IntoMut for usize

Source§

fn into_mut(self, _scope: &Scope) -> usize

Source§

impl<'a, E, C> IntoMut for ViewExpand<'a, E, C>

Source§

fn into_mut(self, _scope: &Scope) -> ViewExpand<'a, E, C>

Source§

impl<'a, E, C> IntoMut for ViewMutExpand<'a, E, C>

Source§

fn into_mut(self, _scope: &Scope) -> ViewMutExpand<'a, E, C>

Source§

impl<'a, Q, NQ, S, F, NF, C> IntoMut for QuantizedViewExpand<'a, Q, NQ, S, F, NF, C>
where Q: Scalar, NQ: Size, S: Scalar, F: Numeric, NF: Size, C: Coordinates + 'static,

Source§

fn into_mut(self, scope: &Scope) -> QuantizedViewExpand<'a, Q, NQ, S, F, NF, C>

Source§

impl<'a, S, T> IntoMut for ReinterpretSliceExpand<'a, S, T>

Source§

fn into_mut(self, scope: &Scope) -> ReinterpretSliceExpand<'a, S, T>

Source§

impl<'a, S, T> IntoMut for ReinterpretSliceMutExpand<'a, S, T>

Source§

fn into_mut(self, scope: &Scope) -> ReinterpretSliceMutExpand<'a, S, T>

Source§

impl<C, S> IntoMut for VirtualLayoutExpand<C, S>
where C: Coordinates, S: Coordinates,

Source§

fn into_mut(self, _scope: &Scope) -> VirtualLayoutExpand<C, S>

Source§

impl<C> IntoMut for SliceLayoutExpand<C>
where C: Coordinates,

Source§

fn into_mut(self, scope: &Scope) -> SliceLayoutExpand<C>

Source§

impl<D> IntoMut for FixedDimLayoutExpand<D>
where D: IntoDyn,

Source§

impl<E, IO> IntoMut for ErasedTensorExpand<E, IO>
where E: Numeric,

Source§

fn into_mut(self, _scope: &Scope) -> ErasedTensorExpand<E, IO>

Source§

impl<E, N, IO> IntoMut for VirtualTensorExpand<E, N, IO>
where E: Numeric, N: Size,

Source§

fn into_mut(self, _scope: &Scope) -> VirtualTensorExpand<E, N, IO>

Source§

impl<I> IntoMut for FastDivmodExpand<I>
where I: FastDivmodInt,

Source§

fn into_mut(self, scope: &Scope) -> FastDivmodExpand<I>

Source§

impl<L0, L1> IntoMut for ChainExpand<L0, L1>
where L0: Layout, L1: Layout<SourceCoordinates = <L0 as Layout>::Coordinates>,

Source§

fn into_mut(self, scope: &Scope) -> ChainExpand<L0, L1>

Source§

impl<L, P, O> IntoMut for IntoDyn2LayoutExpand<L, P, O>
where L: Layout<SourceCoordinates = (P, O)> + ViewLayoutLaunchArg, P: IntoDyn, O: IntoDyn,

Source§

fn into_mut(self, scope: &Scope) -> IntoDyn2LayoutExpand<L, P, O>

Source§

impl<L> IntoMut for ConcreteLayoutExpand<L>

Source§

impl<L> IntoMut for IntoDynLayoutExpand<L>

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> IntoMut for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut, P6: IntoMut, P7: IntoMut, P8: IntoMut, P9: IntoMut, P10: IntoMut, P11: IntoMut,

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> IntoMut for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut, P6: IntoMut, P7: IntoMut, P8: IntoMut, P9: IntoMut, P10: IntoMut,

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> IntoMut for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut, P6: IntoMut, P7: IntoMut, P8: IntoMut, P9: IntoMut,

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8> IntoMut for (P0, P1, P2, P3, P4, P5, P6, P7, P8)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut, P6: IntoMut, P7: IntoMut, P8: IntoMut,

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7> IntoMut for (P0, P1, P2, P3, P4, P5, P6, P7)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut, P6: IntoMut, P7: IntoMut,

Source§

impl<P0, P1, P2, P3, P4, P5, P6> IntoMut for (P0, P1, P2, P3, P4, P5, P6)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut, P6: IntoMut,

Source§

impl<P0, P1, P2, P3, P4, P5> IntoMut for (P0, P1, P2, P3, P4, P5)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut, P5: IntoMut,

Source§

impl<P0, P1, P2, P3, P4> IntoMut for (P0, P1, P2, P3, P4)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut, P4: IntoMut,

Source§

impl<P0, P1, P2, P3> IntoMut for (P0, P1, P2, P3)
where P0: IntoMut, P1: IntoMut, P2: IntoMut, P3: IntoMut,

Source§

impl<P0, P1, P2> IntoMut for (P0, P1, P2)
where P0: IntoMut, P1: IntoMut, P2: IntoMut,

Source§

fn into_mut(self, scope: &Scope) -> (P0, P1, P2)

Source§

impl<P0, P1> IntoMut for (P0, P1)
where P0: IntoMut, P1: IntoMut,

Source§

fn into_mut(self, scope: &Scope) -> (P0, P1)

Source§

impl<P0> IntoMut for (P0,)
where P0: IntoMut,

Source§

fn into_mut(self, scope: &Scope) -> (P0,)

Source§

impl<T, C, S, V> IntoMut for VirtualViewExpand<T, C, S, V>

Source§

fn into_mut(self, scope: &Scope) -> VirtualViewExpand<T, C, S, V>

Source§

impl<T, C, S, V> IntoMut for VirtualViewMutExpand<T, C, S, V>

Source§

fn into_mut(self, scope: &Scope) -> VirtualViewMutExpand<T, C, S, V>

Source§

impl<T> IntoMut for &T
where T: IntoMut,

Source§

fn into_mut(self, _: &Scope) -> &T

Source§

impl<T> IntoMut for &mut T
where T: IntoMut,

Source§

fn into_mut(self, _: &Scope) -> &mut T

Source§

impl<T> IntoMut for *const T
where T: IntoMut,

Source§

impl<T> IntoMut for *mut T
where T: IntoMut,

Source§

fn into_mut(self, _: &Scope) -> *mut T

Source§

impl<T> IntoMut for Option<T>
where T: IntoMut,

Source§

fn into_mut(self, scope: &Scope) -> Option<T>

Implementors§

Source§

impl IntoMut for Im2colExpand

Source§

impl IntoMut for Im2colWideExpand

Source§

impl IntoMut for InputScalarExpand

Source§

impl IntoMut for MatrixLayout

Source§

impl IntoMut for OrderingExpand

Source§

impl IntoMut for RangeFullExpand

Source§

impl IntoMut for TensorMetaExpand

Source§

impl IntoMut for TiledExpand

Source§

impl<A, B, CD> IntoMut for MmaDefinitionExpand<A, B, CD>
where A: CubeType, B: CubeType, CD: CubeType,

Source§

impl<C, S> IntoMut for MatrixExpand<C, S>
where C: CubeType, S: MatrixScope,

Source§

impl<C> IntoMut for NativeExpand<Array<C>>
where C: CubeType,

Source§

impl<E, K> IntoMut for NativeExpand<TensorMap<E, K>>

Source§

impl<E> IntoMut for NativeExpand<Box<[E]>>
where E: CubePrimitive,

Source§

impl<E> IntoMut for NativeExpand<[E]>
where E: CubePrimitive,

Source§

impl<Idx> IntoMut for RangeExpand<Idx>
where Idx: Scalar,

Source§

impl<Idx> IntoMut for RangeFromExpand<Idx>
where Idx: Scalar,

Source§

impl<Idx> IntoMut for RangeInclusiveExpand<Idx>
where Idx: Scalar,

Source§

impl<Idx> IntoMut for RangeToExpand<Idx>
where Idx: Scalar,

Source§

impl<Idx> IntoMut for RangeToInclusiveExpand<Idx>
where Idx: Scalar,

Source§

impl<K, V> IntoMut for Registry<K, V>
where K: PartialOrd + Ord, V: IntoMut + Clone,

Source§

impl<T> IntoMut for ComptimeCellExpand<T>
where T: CubeType,

Source§

impl<T> IntoMut for ComptimeOptionExpand<T>
where T: CubeType,

Source§

impl<T> IntoMut for NativeExpand<Shared<T>>
where T: NativeCubeType + ?Sized,

Source§

impl<T> IntoMut for NativeExpand<T>

Source§

impl<T> IntoMut for OptionExpand<T>
where T: CubeType,

Source§

impl<T> IntoMut for OwnedTensorExpand<T>
where T: CubePrimitive,

Source§

impl<T> IntoMut for RuntimeCellExpand<T>
where T: CubeType,

Source§

impl<T> IntoMut for Sequence<T>
where T: CubeType,

Source§

impl<T> IntoMut for SequenceExpand<T>
where T: CubeType,

Source§

impl<T> IntoMut for TensorExpand<T>
where T: CubePrimitive,

Source§

impl<T> IntoMut for TensorViewBuilderExpand<T>
where T: CubePrimitive,

Source§

impl<T> IntoMut for TensorViewExpand<T>
where T: CubePrimitive,

Source§

impl<T> IntoMut for Vec<T>
where T: IntoMut,