Skip to main content

AngleTo

Trait AngleTo 

Source
pub trait AngleTo<T = Self> {
    type Output;

    // Required method
    fn angle_to(self, other: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn angle_to(self, other: T) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<S: Field, const N: usize> AngleTo for Option<Nrml<N, S>>

Source§

type Output = S

Source§

fn angle_to(self, other: Self) -> Self::Output

Source§

impl<S: Field, const N: usize> AngleTo<Nrml<N, S>> for Option<Nrml<N, S>>

Source§

type Output = S

Source§

fn angle_to(self, other: Nrml<N, S>) -> Self::Output

Implementors§

Source§

impl<S: Field, const N: usize> AngleTo for Nrml<N, S>

Source§

impl<S: Field, const N: usize> AngleTo<Option<Nrml<N, S>>> for Nrml<N, S>