pub struct CuCartesianBlendPath<const N: usize, const CAP: usize> {
pub points: [CuCartesianPathPoint<N>; CAP],
pub len: usize,
}Expand description
Fixed-capacity scratch path. Only points[..len] are valid.
Fields§
§points: [CuCartesianPathPoint<N>; CAP]§len: usizeImplementations§
Source§impl<const N: usize, const CAP: usize> CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> CuCartesianBlendPath<N, CAP>
pub fn points(&self) -> &[CuCartesianPathPoint<N>]
pub fn clear(&mut self)
Trait Implementations§
Source§impl<const N: usize, const CAP: usize> Clone for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> Clone for CuCartesianBlendPath<N, CAP>
Source§fn clone(&self) -> CuCartesianBlendPath<N, CAP>
fn clone(&self) -> CuCartesianBlendPath<N, CAP>
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 moreAuto Trait Implementations§
impl<const N: usize, const CAP: usize> Freeze for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> RefUnwindSafe for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> Send for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> Sync for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> Unpin for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> UnsafeUnpin for CuCartesianBlendPath<N, CAP>
impl<const N: usize, const CAP: usize> UnwindSafe for CuCartesianBlendPath<N, CAP>
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,
impl<T> GetTypeRegistration for T
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