Struct rgeometry::data::Vector [−][src]
Implementations
impl<T> Vector<T, 2>
[src]
impl<T> Vector<T, 2>
[src]pub fn ccw_cmp_around(&self, p: &Vector<T, 2>, q: &Vector<T, 2>) -> Ordering where
T: NumRef + Clone + Ord + Neg<Output = T> + Zero + One,
&'a T: Mul<Output = T> + Neg<Output = T>,
[src]
T: NumRef + Clone + Ord + Neg<Output = T> + Zero + One,
&'a T: Mul<Output = T> + Neg<Output = T>,
pub fn ccw_cmp_around_with(
&self,
z: &Vector<T, 2>,
p: &Vector<T, 2>,
q: &Vector<T, 2>
) -> Ordering where
T: NumRef + Clone + Ord + Neg<Output = T>,
&'a T: Mul<Output = T> + Neg<Output = T>,
[src]
&self,
z: &Vector<T, 2>,
p: &Vector<T, 2>,
q: &Vector<T, 2>
) -> Ordering where
T: NumRef + Clone + Ord + Neg<Output = T>,
&'a T: Mul<Output = T> + Neg<Output = T>,
pub fn sort_around(pts: &mut Vec<Vector<T, 2>>) where
T: NumRef + Ord + Clone + Neg<Output = T> + Zero + One,
[src]
T: NumRef + Ord + Clone + Neg<Output = T> + Zero + One,
Trait Implementations
impl<T, const N: usize> Add<&'_ Vector<T, N>> for Point<T, N> where
&'a T: Add<&'a T, Output = T>,
[src]
impl<T, const N: usize> Add<&'_ Vector<T, N>> for Point<T, N> where
&'a T: Add<&'a T, Output = T>,
[src]impl<'a, 'b, T, const N: usize> Add<&'a Vector<T, N>> for &'b Point<T, N> where
&'c T: Add<&'c T, Output = T>,
[src]
impl<'a, 'b, T, const N: usize> Add<&'a Vector<T, N>> for &'b Point<T, N> where
&'c T: Add<&'c T, Output = T>,
[src]impl<'a, 'b, T, const N: usize> Add<&'b Vector<T, N>> for &'a Vector<T, N> where
T: NumOps + Clone,
[src]
impl<'a, 'b, T, const N: usize> Add<&'b Vector<T, N>> for &'a Vector<T, N> where
T: NumOps + Clone,
[src]impl<T, const N: usize> Add<Vector<T, N>> for Point<T, N> where
&'a T: Add<&'a T, Output = T>,
[src]
impl<T, const N: usize> Add<Vector<T, N>> for Point<T, N> where
&'a T: Add<&'a T, Output = T>,
[src]impl<T, const N: usize> AddAssign<&'_ Vector<T, N>> for Point<T, N> where
T: AddAssign<&'a T>,
[src]
impl<T, const N: usize> AddAssign<&'_ Vector<T, N>> for Point<T, N> where
T: AddAssign<&'a T>,
[src]fn add_assign(&mut self, other: &Vector<T, N>)
[src]
fn add_assign(&mut self, other: &Vector<T, N>)
[src]Performs the +=
operation. Read more
impl<T, const N: usize> AddAssign<Vector<T, N>> for Point<T, N> where
T: AddAssign<&'a T>,
[src]
impl<T, const N: usize> AddAssign<Vector<T, N>> for Point<T, N> where
T: AddAssign<&'a T>,
[src]fn add_assign(&mut self, other: Vector<T, N>)
[src]
fn add_assign(&mut self, other: Vector<T, N>)
[src]Performs the +=
operation. Read more
impl<T, const N: usize> AddAssign<Vector<T, N>> for Vector<T, N> where
T: NumOps + Clone + AddAssign,
[src]
impl<T, const N: usize> AddAssign<Vector<T, N>> for Vector<T, N> where
T: NumOps + Clone + AddAssign,
[src]fn add_assign(&mut self, other: Vector<T, N>)
[src]
fn add_assign(&mut self, other: Vector<T, N>)
[src]Performs the +=
operation. Read more
impl<'a, T, const N: usize> Mul<&'a Vector<T, N>> for Transform<T, N> where
T: TransformScalar,
[src]
impl<'a, T, const N: usize> Mul<&'a Vector<T, N>> for Transform<T, N> where
T: TransformScalar,
[src]impl<'a, 'b, T, const N: usize> Mul<&'b Vector<T, N>> for &'a Transform<T, N> where
T: TransformScalar,
[src]
impl<'a, 'b, T, const N: usize> Mul<&'b Vector<T, N>> for &'a Transform<T, N> where
T: TransformScalar,
[src]impl<'a, T, const N: usize> Mul<Vector<T, N>> for &'a Transform<T, N> where
T: TransformScalar,
[src]
impl<'a, T, const N: usize> Mul<Vector<T, N>> for &'a Transform<T, N> where
T: TransformScalar,
[src]impl<T: Ord, const N: usize> Ord for Vector<T, N>
[src]
impl<T: Ord, const N: usize> Ord for Vector<T, N>
[src]impl<T: PartialOrd, const N: usize> PartialOrd<Vector<T, N>> for Vector<T, N>
[src]
impl<T: PartialOrd, const N: usize> PartialOrd<Vector<T, N>> for Vector<T, N>
[src]fn partial_cmp(&self, other: &Vector<T, N>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Vector<T, N>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a, 'b, T, const N: usize> Sub<&'a Vector<T, N>> for &'b Vector<T, N> where
T: Sub<T, Output = T> + Clone,
[src]
impl<'a, 'b, T, const N: usize> Sub<&'a Vector<T, N>> for &'b Vector<T, N> where
T: Sub<T, Output = T> + Clone,
[src]impl<T, const N: usize> Sum<Vector<T, N>> for Vector<T, N> where
T: NumOps + Zero + AddAssign + Clone,
[src]
impl<T, const N: usize> Sum<Vector<T, N>> for Vector<T, N> where
T: NumOps + Zero + AddAssign + Clone,
[src]impl<T: Eq, const N: usize> Eq for Vector<T, N>
[src]
impl<T, const N: usize> StructuralEq for Vector<T, N>
[src]
impl<T, const N: usize> StructuralPartialEq for Vector<T, N>
[src]
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for Vector<T, N> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, const N: usize> Send for Vector<T, N> where
T: Send,
T: Send,
impl<T, const N: usize> Sync for Vector<T, N> where
T: Sync,
T: Sync,
impl<T, const N: usize> Unpin for Vector<T, N> where
T: Unpin,
T: Unpin,
impl<T, const N: usize> UnwindSafe for Vector<T, N> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,