pub struct SliceExpand<E: RudaPrimitive, IO: SliceVisibility> { /* private fields */ }Implementations§
Source§impl<E: RudaPrimitive, IO: SliceVisibility> SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> SliceExpand<E, IO>
pub fn __to_raw_parts(&self) -> (Variable, Variable)
Source§impl<E: Scalar, N: Size, IO: SliceVisibility> SliceExpand<Vector<E, N>, IO>
impl<E: Scalar, N: Size, IO: SliceVisibility> SliceExpand<Vector<E, N>, IO>
pub fn __expand_with_vector_size_method<N2: Size>( self, scope: &mut Scope, ) -> <Slice<Vector<E, N2>, IO> as RudaType>::ExpandType ⓘ
pub fn __expand_with_vector_size<N2: Size>( scope: &mut Scope, this: Self, ) -> <Slice<Vector<E, N2>, IO> as RudaType>::ExpandType ⓘ
Source§impl<E: RudaPrimitive, IO: SliceVisibility> SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> SliceExpand<E, IO>
pub fn __expand_into_vectorized_method( self, scope: &mut Scope, ) -> <Slice<Vector<E::Scalar, E::Size>, IO> as RudaType>::ExpandType ⓘ
pub fn __expand_downcast_method<T: RudaPrimitive>( self, scope: &mut Scope, ) -> <Slice<T, IO> as RudaType>::ExpandType ⓘ
pub fn __expand_downcast_unchecked_method<T: RudaPrimitive>( self, scope: &mut Scope, ) -> <Slice<T, IO> as RudaType>::ExpandType ⓘ
pub fn __expand_into_vectorized( scope: &mut Scope, this: Self, ) -> <Slice<Vector<E::Scalar, E::Size>, IO> as RudaType>::ExpandType ⓘ
pub fn __expand_downcast<T: RudaPrimitive>( scope: &mut Scope, this: Self, ) -> <Slice<T, IO> as RudaType>::ExpandType ⓘ
pub fn __expand_downcast_unchecked<T: RudaPrimitive>( scope: &mut Scope, this: Self, ) -> <Slice<T, IO> as RudaType>::ExpandType ⓘ
Source§impl<E: RudaPrimitive> SliceExpand<E, ReadOnly>
impl<E: RudaPrimitive> SliceExpand<E, ReadOnly>
pub fn __expand_as_mut_unchecked_method( self, scope: &mut Scope, ) -> <Slice<E, ReadWrite> as RudaType>::ExpandType ⓘ
pub fn __expand_as_mut_unchecked( scope: &mut Scope, this: Self, ) -> <Slice<E, ReadWrite> as RudaType>::ExpandType ⓘ
Source§impl<E: RudaPrimitive, IO: SliceVisibility> SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> SliceExpand<E, IO>
pub fn __expand_len_method( self, scope: &mut Scope, ) -> <usize as RudaType>::ExpandType
pub fn __expand_is_empty_method( self, scope: &mut Scope, ) -> <bool as RudaType>::ExpandType
pub fn __expand_len( scope: &mut Scope, this: Self, ) -> <usize as RudaType>::ExpandType
pub fn __expand_is_empty( scope: &mut Scope, this: Self, ) -> <bool as RudaType>::ExpandType
Trait Implementations§
Source§impl<E: RudaPrimitive, IO: SliceVisibility> Clone for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> Clone for SliceExpand<E, IO>
Source§impl<E: RudaPrimitive, IO: SliceVisibility> IntoMut for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> IntoMut for SliceExpand<E, IO>
Source§impl<E: RudaPrimitive> Iterable<E> for SliceExpand<E, ReadOnly>
impl<E: RudaPrimitive> Iterable<E> for SliceExpand<E, ReadOnly>
Source§fn expand(
self,
scope: &mut Scope,
body: impl FnMut(&mut Scope, <E as RudaType>::ExpandType),
)
fn expand( self, scope: &mut Scope, body: impl FnMut(&mut Scope, <E as RudaType>::ExpandType), )
Expand a runtime loop without unrolling Read more
Source§fn expand_unroll(
self,
_scope: &mut Scope,
_body: impl FnMut(&mut Scope, <E as RudaType>::ExpandType),
)
fn expand_unroll( self, _scope: &mut Scope, _body: impl FnMut(&mut Scope, <E as RudaType>::ExpandType), )
Expand an unrolled loop. The body should be invoced
n times, where n is the number of
iterations. Read moreSource§impl<E: RudaPrimitive, IO: SliceVisibility> ListExpand<E> for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> ListExpand<E> for SliceExpand<E, IO>
fn __expand_read_method( &self, scope: &mut Scope, index: NativeExpand<usize>, ) -> <E as RudaType>::ExpandType
fn __expand_read_unchecked_method( &self, scope: &mut Scope, index: NativeExpand<usize>, ) -> <E as RudaType>::ExpandType
fn __expand_len_method(&self, scope: &mut Scope) -> NativeExpand<usize>
Source§impl<E: RudaPrimitive> ListMutExpand<E> for SliceExpand<E, ReadWrite>
impl<E: RudaPrimitive> ListMutExpand<E> for SliceExpand<E, ReadWrite>
fn __expand_write_method( &self, scope: &mut Scope, index: NativeExpand<usize>, value: NativeExpand<E>, )
Source§impl<E: RudaPrimitive, IO: SliceVisibility> RudaDebug for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> RudaDebug for SliceExpand<E, IO>
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl<E: RudaPrimitive, IO: SliceVisibility> RudaIndexExpand for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> RudaIndexExpand for SliceExpand<E, IO>
type Output = <E as RudaType>::ExpandType
type Idx = NativeExpand<usize>
fn expand_index( self, scope: &mut Scope, index: NativeExpand<usize>, ) -> Self::Output
fn expand_index_unchecked( self, scope: &mut Scope, index: NativeExpand<usize>, ) -> Self::Output
Source§impl<E: RudaPrimitive> RudaIndexMutExpand for SliceExpand<E, ReadWrite>
impl<E: RudaPrimitive> RudaIndexMutExpand for SliceExpand<E, ReadWrite>
fn expand_index_mut( self, scope: &mut Scope, index: NativeExpand<usize>, value: Self::Output, )
Source§impl<E: RudaPrimitive> SliceMutOperatorExpand<E> for SliceExpand<E, ReadWrite>
impl<E: RudaPrimitive> SliceMutOperatorExpand<E> for SliceExpand<E, ReadWrite>
fn __expand_slice_mut_method( &self, scope: &mut Scope, start: NativeExpand<usize>, end: NativeExpand<usize>, ) -> SliceExpand<E, ReadWrite>
fn __expand_to_slice_mut_method( &self, _scope: &mut Scope, ) -> SliceExpand<E, ReadWrite>
Source§impl<E: RudaPrimitive, IO: SliceVisibility> SliceOperatorExpand<E> for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> SliceOperatorExpand<E> for SliceExpand<E, IO>
fn __expand_slice_method( &self, scope: &mut Scope, start: NativeExpand<usize>, end: NativeExpand<usize>, ) -> SliceExpand<E, ReadOnly>
fn __expand_to_slice_method( &self, _scope: &mut Scope, ) -> SliceExpand<E, ReadOnly>
Source§impl<E: RudaPrimitive, IO: SliceVisibility> VectorizedExpand for SliceExpand<E, IO>
impl<E: RudaPrimitive, IO: SliceVisibility> VectorizedExpand for SliceExpand<E, IO>
fn vector_size(&self) -> VectorSize
fn __expand_vector_size_method(&self, _scope: &mut Scope) -> VectorSize
Auto Trait Implementations§
impl<E, IO> !Send for SliceExpand<E, IO>
impl<E, IO> !Sync for SliceExpand<E, IO>
impl<E, IO> Freeze for SliceExpand<E, IO>
impl<E, IO> RefUnwindSafe for SliceExpand<E, IO>
impl<E, IO> Unpin for SliceExpand<E, IO>
impl<E, IO> UnsafeUnpin for SliceExpand<E, IO>
impl<E, IO> UnwindSafe for SliceExpand<E, IO>
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