pub enum Direction<'a, T, const N: usize> {
Vector(&'a Vector<T, N>),
Through(&'a Point<T, N>),
}
Variants§
Trait Implementations§
source§impl<'a, T, const N: usize> From<&'a Direction_<T, N>> for Direction<'a, T, N>
impl<'a, T, const N: usize> From<&'a Direction_<T, N>> for Direction<'a, T, N>
source§fn from(owned: &'a Direction_<T, N>) -> Direction<'a, T, N>
fn from(owned: &'a Direction_<T, N>) -> Direction<'a, T, N>
Converts to this type from the input type.
impl<T, const N: usize> Copy for Direction<'_, T, N>
Auto Trait Implementations§
impl<'a, T, const N: usize> Freeze for Direction<'a, T, N>
impl<'a, T, const N: usize> RefUnwindSafe for Direction<'a, T, N>where
T: RefUnwindSafe,
impl<'a, T, const N: usize> Send for Direction<'a, T, N>where
T: Sync,
impl<'a, T, const N: usize> Sync for Direction<'a, T, N>where
T: Sync,
impl<'a, T, const N: usize> Unpin for Direction<'a, T, N>
impl<'a, T, const N: usize> UnwindSafe for Direction<'a, T, N>where
T: RefUnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)