pub struct SubvectorFn<V: VectorFn<T>, T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<V: VectorFn<T>, T> SelfSubvectorFn<T> for SubvectorFn<V, T>
impl<V: VectorFn<T>, T> SelfSubvectorFn<T> for SubvectorFn<V, T>
Source§fn restrict_full(self, range: Range<usize>) -> Self
fn restrict_full(self, range: Range<usize>) -> Self
Returns a
SelfSubvectorFn that represents the elements within the given range
of this vector.Source§fn restrict<R: RangeBounds<usize>>(self, range: R) -> Self
fn restrict<R: RangeBounds<usize>>(self, range: R) -> Self
Returns a
SelfSubvectorFn that represents the elements within the given range
of this vector.Source§impl<V: VectorFn<T>, T> VectorFn<T> for SubvectorFn<V, T>
impl<V: VectorFn<T>, T> VectorFn<T> for SubvectorFn<V, T>
impl<V: Copy + VectorFn<T>, T> Copy for SubvectorFn<V, T>
Auto Trait Implementations§
impl<V, T> Freeze for SubvectorFn<V, T>where
V: Freeze,
impl<V, T> RefUnwindSafe for SubvectorFn<V, T>where
V: RefUnwindSafe,
T: RefUnwindSafe,
impl<V, T> Send for SubvectorFn<V, T>
impl<V, T> Sync for SubvectorFn<V, T>
impl<V, T> Unpin for SubvectorFn<V, T>
impl<V, T> UnwindSafe for SubvectorFn<V, T>where
V: UnwindSafe,
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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