[][src]Struct stl_io::Vector

pub struct Vector<F>(_);

Float Vector with approx_eq.

Implementations

impl<F> Vector<F>[src]

pub fn new(v: [F; 3]) -> Self[src]

Constructor from array.

Trait Implementations

impl<'a, M: Copy + Default, F: Copy + ApproxEq<Margin = M>> ApproxEq for &'a Vector<F>[src]

type Margin = M

This type type defines a margin within which two values are to be considered approximately equal. It must implement Default so that approx_eq() can be called on unknown types. Read more

impl<F: Clone> Clone for Vector<F>[src]

impl<F: Copy> Copy for Vector<F>[src]

impl<F: Debug> Debug for Vector<F>[src]

impl<F: Default> Default for Vector<F>[src]

impl<F> From<Vector<F>> for [F; 3][src]

impl<F> Index<usize> for Vector<F>[src]

type Output = F

The returned type after indexing.

impl<F: PartialEq> PartialEq<Vector<F>> for Vector<F>[src]

impl<F: PartialOrd> PartialOrd<Vector<F>> for Vector<F>[src]

impl<F> StructuralPartialEq for Vector<F>[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for Vector<F> where
    F: RefUnwindSafe
[src]

impl<F> Send for Vector<F> where
    F: Send
[src]

impl<F> Sync for Vector<F> where
    F: Sync
[src]

impl<F> Unpin for Vector<F> where
    F: Unpin
[src]

impl<F> UnwindSafe for Vector<F> where
    F: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.