Skip to main content

RudaIndexMut

Trait RudaIndexMut 

Source
pub trait RudaIndexMut: RudaIndex + RudaType<ExpandType: RudaIndexMutExpand<Output = <Self::Output as RudaType>::ExpandType>> {
    // Provided methods
    fn ruda_idx_mut(
        &mut self,
        _i: <Self as RudaIndex>::Idx,
    ) -> &mut <Self as RudaIndex>::Output { ... }
    fn expand_index_mut(
        scope: &mut Scope,
        array: Self::ExpandType,
        index: <Self::Idx as RudaType>::ExpandType,
        value: <Self::Output as RudaType>::ExpandType,
    ) { ... }
}

Provided Methods§

Source

fn ruda_idx_mut( &mut self, _i: <Self as RudaIndex>::Idx, ) -> &mut <Self as RudaIndex>::Output

Source

fn expand_index_mut( scope: &mut Scope, array: Self::ExpandType, index: <Self::Idx as RudaType>::ExpandType, value: <Self::Output as RudaType>::ExpandType, )

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§