[−][src]Struct na::base::coordinates::XY
Data structure used to provide access to matrix and vector coordinates with the dot
notation, e.g., v.x
is the same as v[0]
for a vector.
Fields
x: N
y: N
Trait Implementations
impl<N> Copy for XY<N> where
N: Scalar + Copy,
[src]
N: Scalar + Copy,
impl<N> Clone for XY<N> where
N: Scalar + Clone,
[src]
N: Scalar + Clone,
fn clone(&self) -> XY<N>
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N> PartialEq<XY<N>> for XY<N> where
N: Scalar + PartialEq<N>,
[src]
N: Scalar + PartialEq<N>,
impl<N> Debug for XY<N> where
N: Scalar + Debug,
[src]
N: Scalar + Debug,
impl<N> Hash for XY<N> where
N: Scalar + Hash,
[src]
N: Scalar + Hash,
fn hash<__HN>(&self, state: &mut __HN) where
__HN: Hasher,
[src]
__HN: Hasher,
default fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<N> Eq for XY<N> where
N: Scalar + Eq,
[src]
N: Scalar + Eq,
Auto Trait Implementations
Blanket Implementations
impl<V> IntoVec for V
[src]
impl<V> IntoPnt for V
[src]
impl<T> IntoPnt for T where
T: Scalar,
[src]
T: Scalar,
impl<T> IntoPnt for T where
T: Scalar,
[src]
T: Scalar,
impl<T> IntoPnt for T where
T: Scalar,
[src]
T: Scalar,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,