pub struct TypedSlice<E: RudaPrimitive, S: PointerSpace, A: PointerPermission = ReadOnly> { /* private fields */ }Implementations§
Source§impl<E: RudaPrimitive, S: PointerSpace, A: PointerPermission> TypedSlice<E, S, A>
impl<E: RudaPrimitive, S: PointerSpace, A: PointerPermission> TypedSlice<E, S, A>
pub fn ptr(&self, index: usize) -> Ptr<E, S, A>
pub fn len(&self) -> usize
pub fn slice(&self, start: usize, end: usize) -> Self
pub fn __expand_ptr( scope: &mut Scope, this: <Self as RudaType>::ExpandType, index: <usize as RudaType>::ExpandType, ) -> <Ptr<E, S, A> as RudaType>::ExpandType
pub fn __expand_len( scope: &mut Scope, this: <Self as RudaType>::ExpandType, ) -> <usize as RudaType>::ExpandType
pub fn __expand_slice( scope: &mut Scope, this: <Self as RudaType>::ExpandType, start: <usize as RudaType>::ExpandType, end: <usize as RudaType>::ExpandType, ) -> <Self as RudaType>::ExpandType
Trait Implementations§
Source§impl<E: RudaPrimitive, S: PointerSpace, A: PointerPermission> RudaType for TypedSlice<E, S, A>
impl<E: RudaPrimitive, S: PointerSpace, A: PointerPermission> RudaType for TypedSlice<E, S, A>
type ExpandType = TypedSliceExpand<E, S, A>
Source§impl<E: RudaPrimitive, S: PointerSpace, A: PointerPermission> RudaType for &TypedSlice<E, S, A>
impl<E: RudaPrimitive, S: PointerSpace, A: PointerPermission> RudaType for &TypedSlice<E, S, A>
type ExpandType = TypedSliceExpand<E, S, A>
Auto Trait Implementations§
impl<E, S, A> Freeze for TypedSlice<E, S, A>
impl<E, S, A> RefUnwindSafe for TypedSlice<E, S, A>
impl<E, S, A> Send for TypedSlice<E, S, A>
impl<E, S, A> Sync for TypedSlice<E, S, A>
impl<E, S, A> Unpin for TypedSlice<E, S, A>
impl<E, S, A> UnsafeUnpin for TypedSlice<E, S, A>
impl<E, S, A> UnwindSafe for TypedSlice<E, S, A>
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