UpNorthEast

Struct UpNorthEast 

Source
pub struct UpNorthEast<T>(/* private fields */);
Expand description

§A up, north and east frame (left-handed)

This resembles a 🫲 left-handed coordinate system representing the up, forward and right directions, respectively.

It is encoded by CoordinateFrameType::UpNorthEast.

§Axis descriptions

  • x represents up, i.e. the vertical axis with positive values representing “up”.
  • y represents north, i.e. the longitudinal axis with positive values representing “forward”.
  • z represents east, i.e. the lateral axis with positive values representing “right”.
x (up)
|   y (north)
|  /
| /
|/______ z (east)

Implementations§

Source§

impl<T> UpNorthEast<T>

Source

pub const COORDINATE_FRAME: CoordinateFrameType = CoordinateFrameType::UpNorthEast

The coordinate frame type.

Source

pub const fn new(up: T, north: T, east: T) -> Self

Creates a new UpNorthEast instance from its up, north and east components.

Source

pub const fn from_array(vec: [T; 3]) -> Self

Constructs an instance from an array.

Be mindful not to directly pass a different coordinate frame into this function unless you want to strictly re-interpret the values.

Source

pub fn from_slice(vec: &[T]) -> Self
where T: Clone,

Constructs an instance from a slice.

Be mindful not to directly pass a different coordinate frame into this function unless you want to strictly re-interpret the values.

Source

pub fn x(&self) -> T
where T: Clone,

Gets the value of the first dimension. For this type, this represents the up direction.

Source

pub fn y(&self) -> T
where T: Clone,

Gets the value of the second dimension. For this type, this represents the north direction.

Source

pub fn z(&self) -> T
where T: Clone,

Gets the value of the third dimension. For this type, this represents the east direction.

Source

pub fn x_ref(&self) -> &T

Gets a reference to the value of the first dimension. For this type, this represents the up direction.

Source

pub fn y_ref(&self) -> &T

Gets a reference to the value of the second dimension. For this type, this represents the north direction.

Source

pub fn z_ref(&self) -> &T

Gets a reference to the value of the third dimension. For this type, this represents the east direction.

Source

pub fn x_mut(&mut self) -> &mut T

Gets a mutable reference to the value of the first dimension. For this type, this represents the up direction.

Source

pub fn y_mut(&mut self) -> &mut T

Gets a mutable reference to the value of the second dimension. For this type, this represents the north direction.

Source

pub fn z_mut(&mut self) -> &mut T

Gets a mutable reference to the value of the third dimension. For this type, this represents the east direction.

Source

pub const fn into_inner(self) -> [T; 3]
where T: Copy,

Consumes self and returns its inner value.

Source

pub const fn coordinate_frame(&self) -> CoordinateFrameType

Returns the coordinate frame of this instance.

This is the same as COORDINATE_FRAME, except that it is available as a function on an instance.

Source

pub const fn right_handed(&self) -> bool

Indicates whether this coordinate system is right-handed or left-handed.

Source

pub fn x_axis() -> [T; 3]
where T: ZeroOne<Output = T> + Neg<Output = T>,

Returns the base vector for the x axis in the local frame.

Source

pub fn y_axis() -> [T; 3]
where T: ZeroOne<Output = T> + Neg<Output = T>,

Returns the base vector for the y axis in the local frame.

Source

pub fn z_axis() -> [T; 3]
where T: ZeroOne<Output = T> + Neg<Output = T>,

Returns the base vector for the z axis in the local frame.

Source

pub fn norm_sq(&self) -> T
where T: Clone + Mul<T, Output = T> + Add<T, Output = T>,

Calculates the squared norm of the components.

§Panics

This operation may overflow.

Source

pub fn cross(&self, rhs: &Self) -> Self
where T: Clone + Mul<T, Output = T> + Sub<T, Output = T>,

Calculates the cross product (outer product) of two coordinates.

§Panics

This operation may overflow.

Source

pub fn dot(&self, rhs: &Self) -> T
where T: Clone + Mul<T, Output = T> + Add<T, Output = T>,

Calculates the dot product (inner product) of two coordinates.

§Panics

This operation may overflow.

Source

pub fn map<F>(&self, map: F) -> Self
where F: FnMut(T) -> T, T: Clone,

Applies a mapping function to each component.

Source

pub fn with_up(self, up: T) -> Self

Consumes self and returns a new instance with the up component set to the provided value.

Source

pub const fn up(&self) -> T
where T: Copy,

Returns the up component of this coordinate.

Source

pub const fn up_ref(&self) -> &T

Returns a reference to the up component of this coordinate.

Source

pub fn up_mut(&mut self) -> &mut T

Returns a mutable reference to the up component of this coordinate.

Source

pub fn with_north(self, north: T) -> Self

Consumes self and returns a new instance with the north component set to the provided value.

Source

pub const fn north(&self) -> T
where T: Copy,

Returns the north component of this coordinate.

Source

pub const fn north_ref(&self) -> &T

Returns a reference to the north component of this coordinate.

Source

pub fn north_mut(&mut self) -> &mut T

Returns a mutable reference to the north component of this coordinate.

Source

pub fn with_east(self, east: T) -> Self

Consumes self and returns a new instance with the east component set to the provided value.

Source

pub const fn east(&self) -> T
where T: Copy,

Returns the east component of this coordinate.

Source

pub const fn east_ref(&self) -> &T

Returns a reference to the east component of this coordinate.

Source

pub fn east_mut(&mut self) -> &mut T

Returns a mutable reference to the east component of this coordinate.

Source

pub fn down(&self) -> T
where T: Copy + SaturatingNeg<Output = T>,

Returns the down component of this coordinate. This component is not a native axis of the coordinate frame and is derived from the up component at runtime.

Source

pub fn south(&self) -> T
where T: Copy + SaturatingNeg<Output = T>,

Returns the south component of this coordinate. This component is not a native axis of the coordinate frame and is derived from the north component at runtime.

Source

pub fn west(&self) -> T
where T: Copy + SaturatingNeg<Output = T>,

Returns the west component of this coordinate. This component is not a native axis of the coordinate frame and is derived from the east component at runtime.

Source

pub fn flip_frame(&self) -> DownSouthWest<T>
where T: Copy + SaturatingNeg<Output = T>,

Flips this coordinate frame into its opposite frame, DownSouthWest

Source

pub fn to_ned(&self) -> NorthEastDown<T>
where T: Copy + SaturatingNeg<Output = T>,

Converts this type to a NorthEastDown instance.

Source

pub const fn to_enu(&self) -> EastNorthUp<T>
where T: Copy,

Converts this type to an NorthEastDown instance.

Trait Implementations§

Source§

impl<T> Add<T> for UpNorthEast<T>
where T: Add<T, Output = T> + Clone,

Source§

type Output = UpNorthEast<T>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: T) -> Self::Output

Performs the + operation. Read more
Source§

impl<T> Add for UpNorthEast<T>
where T: Add<T, Output = T> + Clone,

Source§

type Output = UpNorthEast<T>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: UpNorthEast<T>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T> AddAssign<T> for UpNorthEast<T>
where T: AddAssign<T> + Clone,

Source§

fn add_assign(&mut self, rhs: T)

Performs the += operation. Read more
Source§

impl<T> AsMut<[T]> for UpNorthEast<T>

Source§

fn as_mut(&mut self) -> &mut [T]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl<T> AsMut<[T; 3]> for UpNorthEast<T>

Source§

fn as_mut(&mut self) -> &mut [T; 3]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl<T> AsRef<[T]> for UpNorthEast<T>

Source§

fn as_ref(&self) -> &[T]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<T> AsRef<[T; 3]> for UpNorthEast<T>

Source§

fn as_ref(&self) -> &[T; 3]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<T: Clone> Clone for UpNorthEast<T>

Source§

fn clone(&self) -> UpNorthEast<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T> CoordinateFrame for UpNorthEast<T>

Source§

const COORDINATE_FRAME: CoordinateFrameType = CoordinateFrameType::UpNorthEast

The coordinate frame.

Source§

fn coordinate_frame(&self) -> CoordinateFrameType

Returns the coordinate frame of this instance.

Source§

fn to_ned(&self) -> NorthEastDown<Self::Type>
where Self::Type: Copy + SaturatingNeg<Output = Self::Type>,

Converts this type to a NorthEastDown instance.

Source§

fn to_enu(&self) -> EastNorthUp<Self::Type>
where Self::Type: Copy + SaturatingNeg<Output = Self::Type>,

Converts this type to an EastNorthUp instance.

Source§

fn x(&self) -> Self::Type
where Self::Type: Clone,

Gets the value of the first dimension. For this type, this represents the up direction.

Source§

fn y(&self) -> Self::Type
where Self::Type: Clone,

Gets the value of the second dimension. For this type, this represents the north direction.

Source§

fn z(&self) -> Self::Type
where Self::Type: Clone,

Gets the value of the third dimension. For this type, this represents the east direction.

Source§

fn x_ref(&self) -> &Self::Type

Gets a reference to the value of the first dimension. For this type, this represents the up direction.

Source§

fn y_ref(&self) -> &Self::Type

Gets a reference to the value of the second dimension. For this type, this represents the north direction.

Source§

fn z_ref(&self) -> &Self::Type

Gets a reference to the value of the third dimension. For this type, this represents the east direction.

Source§

fn x_mut(&mut self) -> &mut Self::Type

Gets a mutable reference to the value of the first dimension. For this type, this represents the up direction.

Source§

fn y_mut(&mut self) -> &mut Self::Type

Gets a mutable reference to the value of the second dimension. For this type, this represents the north direction.

Source§

fn z_mut(&mut self) -> &mut Self::Type

Gets a mutable reference to the value of the third dimension. For this type, this represents the east direction.

Source§

fn right_handed(&self) -> bool

Indicates whether this coordinate system is right-handed or left-handed.

Source§

fn x_axis() -> [Self::Type; 3]
where Self::Type: ZeroOne<Output = Self::Type> + Neg<Output = Self::Type>,

Returns the base vector for the x axis.

Source§

fn y_axis() -> [Self::Type; 3]
where Self::Type: ZeroOne<Output = Self::Type> + Neg<Output = Self::Type>,

Returns the base vector for the y axis.

Source§

fn z_axis() -> [Self::Type; 3]
where Self::Type: ZeroOne<Output = Self::Type> + Neg<Output = Self::Type>,

Returns the base vector for the z axis.

Source§

type Type = T

The type of each coordinate value.
Source§

impl<T: Debug> Debug for UpNorthEast<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T> Deref for UpNorthEast<T>

Source§

type Target = [T; 3]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<T> DerefMut for UpNorthEast<T>

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl<T> Display for UpNorthEast<T>
where T: Display,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T> Div<T> for UpNorthEast<T>
where T: Div<T, Output = T> + Clone,

Source§

type Output = UpNorthEast<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: T) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> DivAssign<T> for UpNorthEast<T>
where T: DivAssign<T> + Clone,

Source§

fn div_assign(&mut self, rhs: T)

Performs the /= operation. Read more
Source§

impl<T> Format for UpNorthEast<T>
where T: Format,

Available on crate feature defmt only.
Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl<T> From<[T; 3]> for UpNorthEast<T>

Source§

fn from(value: [T; 3]) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownEastNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownEastNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownEastSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownEastSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownNorthEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownNorthEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownNorthWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownNorthWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownSouthEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownSouthEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownSouthWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownSouthWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownWestNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownWestNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<DownWestSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: DownWestSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastDownNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastDownNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastDownSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastDownSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastNorthDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastNorthDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastNorthUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastNorthUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastSouthDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastSouthDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastSouthUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastSouthUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastUpNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastUpNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<EastUpSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: EastUpSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for UpNorthEast<T>
where T: Scalar + Copy,

Available on crate feature nalgebra only.
Source§

fn from(value: Vector3<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthDownEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthDownEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthDownWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthDownWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthEastDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthEastDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthEastUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthEastUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthUpEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthUpEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthUpWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthUpWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthWestDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthWestDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<NorthWestUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: NorthWestUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<OPoint<T, Const<3>>> for UpNorthEast<T>
where T: Scalar + Copy,

Available on crate feature nalgebra only.
Source§

fn from(value: Point3<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthDownEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthDownEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthDownWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthDownWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthEastDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthEastDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthEastUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthEastUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthUpEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthUpEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthUpWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthUpWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthWestDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthWestDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<SouthWestUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: SouthWestUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpEastNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpEastNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpEastSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpEastSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for [T; 3]

Source§

fn from(value: UpNorthEast<T>) -> [T; 3]

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for (T, T, T)

Source§

fn from(value: UpNorthEast<T>) -> (T, T, T)

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownEastNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownEastNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownEastSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownEastSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownNorthWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownNorthWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownSouthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownSouthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownSouthWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownSouthWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownWestNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownWestNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for DownWestSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> DownWestSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastDownNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastDownNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastDownSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastDownSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastNorthDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastNorthDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastNorthUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastNorthUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastSouthDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastSouthDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastSouthUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastSouthUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastUpNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastUpNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for EastUpSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> EastUpSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for Vector3<T>
where T: Scalar,

Available on crate feature nalgebra only.
Source§

fn from(value: UpNorthEast<T>) -> Vector3<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthDownEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthDownEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthDownWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthDownWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthEastDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthEastDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthEastUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthEastUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthUpEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthUpEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthUpWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthUpWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthWestDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthWestDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for NorthWestUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> NorthWestUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for Point3<T>
where T: Scalar,

Available on crate feature nalgebra only.
Source§

fn from(value: UpNorthEast<T>) -> Point3<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthDownEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthDownEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthDownWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthDownWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthEastDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthEastDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthEastUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthEastUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthUpEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthUpEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthUpWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthUpWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthWestDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthWestDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for SouthWestUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> SouthWestUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpEastNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpEastNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpEastSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpEastSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpNorthWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpNorthWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpSouthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpSouthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpSouthWest<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpSouthWest<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpWestNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpWestNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for UpWestSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> UpWestSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestDownNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestDownNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestDownSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestDownSouth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestNorthDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestNorthDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestNorthUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestNorthUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestSouthDown<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestSouthDown<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestSouthUp<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestSouthUp<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestUpNorth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestUpNorth<T>

Converts to this type from the input type.
Source§

impl<T> From<UpNorthEast<T>> for WestUpSouth<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthEast<T>) -> WestUpSouth<T>

Converts to this type from the input type.
Source§

impl From<UpNorthEast<f32>> for F32x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<f32>) -> F32x3

Converts to this type from the input type.
Source§

impl From<UpNorthEast<i16>> for I16x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<i16>) -> I16x3

Converts to this type from the input type.
Source§

impl From<UpNorthEast<i32>> for I32x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<i32>) -> I32x3

Converts to this type from the input type.
Source§

impl From<UpNorthEast<i8>> for I8x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<i8>) -> I8x3

Converts to this type from the input type.
Source§

impl From<UpNorthEast<u16>> for U16x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<u16>) -> U16x3

Converts to this type from the input type.
Source§

impl From<UpNorthEast<u32>> for U32x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<u32>) -> U32x3

Converts to this type from the input type.
Source§

impl From<UpNorthEast<u8>> for U8x3

Available on crate feature micromath only.
Source§

fn from(value: UpNorthEast<u8>) -> U8x3

Converts to this type from the input type.
Source§

impl<T> From<UpNorthWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpNorthWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpSouthEast<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpSouthEast<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpSouthWest<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpSouthWest<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpWestNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpWestNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<UpWestSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: UpWestSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl From<Vector3d<f32>> for UpNorthEast<f32>

Available on crate feature micromath only.
Source§

fn from(value: F32x3) -> UpNorthEast<f32>

Converts to this type from the input type.
Source§

impl From<Vector3d<i16>> for UpNorthEast<i16>

Available on crate feature micromath only.
Source§

fn from(value: I16x3) -> UpNorthEast<i16>

Converts to this type from the input type.
Source§

impl From<Vector3d<i32>> for UpNorthEast<i32>

Available on crate feature micromath only.
Source§

fn from(value: I32x3) -> UpNorthEast<i32>

Converts to this type from the input type.
Source§

impl From<Vector3d<i8>> for UpNorthEast<i8>

Available on crate feature micromath only.
Source§

fn from(value: I8x3) -> UpNorthEast<i8>

Converts to this type from the input type.
Source§

impl From<Vector3d<u16>> for UpNorthEast<u16>

Available on crate feature micromath only.
Source§

fn from(value: U16x3) -> UpNorthEast<u16>

Converts to this type from the input type.
Source§

impl From<Vector3d<u32>> for UpNorthEast<u32>

Available on crate feature micromath only.
Source§

fn from(value: U32x3) -> UpNorthEast<u32>

Converts to this type from the input type.
Source§

impl From<Vector3d<u8>> for UpNorthEast<u8>

Available on crate feature micromath only.
Source§

fn from(value: U8x3) -> UpNorthEast<u8>

Converts to this type from the input type.
Source§

impl<T> From<WestDownNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestDownNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestDownSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestDownSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestNorthDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestNorthDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestNorthUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestNorthUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestSouthDown<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestSouthDown<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestSouthUp<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestSouthUp<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestUpNorth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestUpNorth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> From<WestUpSouth<T>> for UpNorthEast<T>
where T: Clone + SaturatingNeg<Output = T>,

Source§

fn from(value: WestUpSouth<T>) -> UpNorthEast<T>

Converts to this type from the input type.
Source§

impl<T> Mul<T> for UpNorthEast<T>
where T: Mul<T, Output = T> + Clone,

Source§

type Output = UpNorthEast<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: T) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> MulAssign<T> for UpNorthEast<T>
where T: MulAssign<T> + Clone,

Source§

fn mul_assign(&mut self, rhs: T)

Performs the *= operation. Read more
Source§

impl<T: Ord> Ord for UpNorthEast<T>

Source§

fn cmp(&self, other: &UpNorthEast<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<T> PartialEq<&[T; 3]> for UpNorthEast<T>
where T: PartialEq<T>,

Source§

fn eq(&self, other: &&[T; 3]) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialEq> PartialEq for UpNorthEast<T>

Source§

fn eq(&self, other: &UpNorthEast<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialOrd> PartialOrd for UpNorthEast<T>

Source§

fn partial_cmp(&self, other: &UpNorthEast<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<T> Sub<T> for UpNorthEast<T>
where T: Sub<T, Output = T> + Clone,

Source§

type Output = UpNorthEast<T>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: T) -> Self::Output

Performs the - operation. Read more
Source§

impl<T> Sub for UpNorthEast<T>
where T: Sub<T, Output = T> + Clone,

Source§

type Output = UpNorthEast<T>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: UpNorthEast<T>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T> SubAssign<T> for UpNorthEast<T>
where T: SubAssign<T> + Clone,

Source§

fn sub_assign(&mut self, rhs: T)

Performs the -= operation. Read more
Source§

impl<T: Copy> Copy for UpNorthEast<T>

Source§

impl<T: Eq> Eq for UpNorthEast<T>

Source§

impl<T> LeftHanded for UpNorthEast<T>

Source§

impl<T> StructuralPartialEq for UpNorthEast<T>

Auto Trait Implementations§

§

impl<T> Freeze for UpNorthEast<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for UpNorthEast<T>
where T: RefUnwindSafe,

§

impl<T> Send for UpNorthEast<T>
where T: Send,

§

impl<T> Sync for UpNorthEast<T>
where T: Sync,

§

impl<T> Unpin for UpNorthEast<T>
where T: Unpin,

§

impl<T> UnwindSafe for UpNorthEast<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, Right> ClosedAdd<Right> for T
where T: Add<Right, Output = T> + AddAssign<Right>,

Source§

impl<T, Right> ClosedAddAssign<Right> for T
where T: ClosedAdd<Right> + AddAssign<Right>,

Source§

impl<T, Right> ClosedDiv<Right> for T
where T: Div<Right, Output = T> + DivAssign<Right>,

Source§

impl<T, Right> ClosedDivAssign<Right> for T
where T: ClosedDiv<Right> + DivAssign<Right>,

Source§

impl<T, Right> ClosedMul<Right> for T
where T: Mul<Right, Output = T> + MulAssign<Right>,

Source§

impl<T, Right> ClosedMulAssign<Right> for T
where T: ClosedMul<Right> + MulAssign<Right>,

Source§

impl<T, Right> ClosedSub<Right> for T
where T: Sub<Right, Output = T> + SubAssign<Right>,

Source§

impl<T, Right> ClosedSubAssign<Right> for T
where T: ClosedSub<Right> + SubAssign<Right>,

Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,