Struct nalgebra::base::coordinates::XY [−][src]
#[repr(C)]pub struct XY<N: Scalar> { pub x: N, pub y: N, }
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<'de, N: Scalar> Deserialize<'de> for XY<N> where
N: Deserialize<'de>,
[src]
impl<'de, N: Scalar> Deserialize<'de> for XY<N> where
N: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<N: Copy + Scalar> Copy for XY<N>
[src]
impl<N: Eq + Scalar> Eq for XY<N>
[src]
impl<N: Scalar> StructuralEq for XY<N>
[src]
impl<N: Scalar> StructuralPartialEq for XY<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for XY<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for XY<N> where
N: Send,
N: Send,
impl<N> Sync for XY<N> where
N: Sync,
N: Sync,
impl<N> Unpin for XY<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for XY<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,