[−][src]Struct rust_3d::Norm3D
Norm3D, a normalized vector within 3D space
Trait Implementations
impl Is3D for Norm3D
[src]
fn x(&self) -> f64
[src]
fn y(&self) -> f64
[src]
fn z(&self) -> f64
[src]
fn xyz(&self) -> (f64, f64, f64)
[src]
fn xy(&self) -> (f64, f64)
[src]
fn xz(&self) -> (f64, f64)
[src]
fn yz(&self) -> (f64, f64)
[src]
fn dot(&self, other: &dyn Is3D) -> f64
[src]
fn abs(&self) -> NonNegative
[src]
fn rad_to(&self, other: &dyn Is3D) -> Rad
[src]
fn to_str(&self) -> String
[src]
impl IsNormalized3D for Norm3D
[src]
fn new<P>(p: P) -> Result<Self> where
P: Is3D,
[src]
P: Is3D,
fn norm_x() -> Self
[src]
fn norm_y() -> Self
[src]
fn norm_z() -> Self
[src]
impl IsND for Norm3D
[src]
fn n_dimensions() -> usize
[src]
fn position_nd(&self, dimension: usize) -> Result<f64>
[src]
impl Clone for Norm3D
[src]
impl Eq for Norm3D
[src]
impl Ord for Norm3D
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Norm3D> for Norm3D
[src]
impl PartialOrd<Norm3D> for Norm3D
[src]
fn partial_cmp(&self, other: &Norm3D) -> Option<Ordering>
[src]
fn lt(&self, other: &Norm3D) -> bool
[src]
fn le(&self, other: &Norm3D) -> bool
[src]
fn gt(&self, other: &Norm3D) -> bool
[src]
fn ge(&self, other: &Norm3D) -> bool
[src]
impl Debug for Norm3D
[src]
impl Mul<f64> for Norm3D
[src]
type Output = Point3D
The resulting type after applying the *
operator.
fn mul(self, other: f64) -> Point3D
[src]
impl Neg for Norm3D
[src]
impl Hash for Norm3D
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for Norm3D
[src]
Auto Trait Implementations
impl Send for Norm3D
impl Sync for Norm3D
impl Unpin for Norm3D
impl UnwindSafe for Norm3D
impl RefUnwindSafe for Norm3D
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,