pub struct VectorSlice<'a> { /* private fields */ }Expand description
See ArgData for details.
Implementations§
Source§impl<'a> VectorSlice<'a>
impl<'a> VectorSlice<'a>
pub fn new(data: &'a [[f32; 3]]) -> VectorSlice<'a>
Trait Implementations§
Source§impl<'a> Clone for VectorSlice<'a>
impl<'a> Clone for VectorSlice<'a>
Source§fn clone(&self) -> VectorSlice<'a>
fn clone(&self) -> VectorSlice<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for VectorSlice<'a>
impl<'a> Debug for VectorSlice<'a>
Source§impl<'a, 'b> From<VectorSlice<'a>> for ArgData<'a, 'b>
impl<'a, 'b> From<VectorSlice<'a>> for ArgData<'a, 'b>
Source§fn from(v: VectorSlice<'a>) -> ArgData<'a, 'b>
fn from(v: VectorSlice<'a>) -> ArgData<'a, 'b>
Converts to this type from the input type.
Source§impl<'a> PartialEq for VectorSlice<'a>
impl<'a> PartialEq for VectorSlice<'a>
Source§fn eq(&self, other: &VectorSlice<'a>) -> bool
fn eq(&self, other: &VectorSlice<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a, 'b> TryInto<VectorSlice<'a>> for ArgData<'a, 'b>
impl<'a, 'b> TryInto<VectorSlice<'a>> for ArgData<'a, 'b>
impl<'a> StructuralPartialEq for VectorSlice<'a>
Auto Trait Implementations§
impl<'a> Freeze for VectorSlice<'a>
impl<'a> RefUnwindSafe for VectorSlice<'a>
impl<'a> Send for VectorSlice<'a>
impl<'a> Sync for VectorSlice<'a>
impl<'a> Unpin for VectorSlice<'a>
impl<'a> UnsafeUnpin for VectorSlice<'a>
impl<'a> UnwindSafe for VectorSlice<'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
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