[][src]Struct vek::geom::repr_simd::Ellipsis

pub struct Ellipsis<P, E> {
    pub center: Vec2<P>,
    pub radius: Extent2<E>,
}

Ellipsis (2D), represented by center and radius in both axii.

Fields

center: Vec2<P>radius: Extent2<E>

Trait Implementations

impl<P: Clone, E: Clone> Clone for Ellipsis<P, E>[src]

impl<P: Copy, E: Copy> Copy for Ellipsis<P, E>[src]

impl<P: Debug, E: Debug> Debug for Ellipsis<P, E>[src]

impl<P: Default, E: Default> Default for Ellipsis<P, E>[src]

impl<'de, P, E> Deserialize<'de> for Ellipsis<P, E> where
    P: Deserialize<'de>,
    E: Deserialize<'de>, 
[src]

impl<P: Eq, E: Eq> Eq for Ellipsis<P, E>[src]

impl<P: Hash, E: Hash> Hash for Ellipsis<P, E>[src]

impl<P: PartialEq, E: PartialEq> PartialEq<Ellipsis<P, E>> for Ellipsis<P, E>[src]

impl<P, E> Serialize for Ellipsis<P, E> where
    P: Serialize,
    E: Serialize
[src]

impl<P, E> StructuralEq for Ellipsis<P, E>[src]

impl<P, E> StructuralPartialEq for Ellipsis<P, E>[src]

Auto Trait Implementations

impl<P, E> RefUnwindSafe for Ellipsis<P, E> where
    E: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, E> Send for Ellipsis<P, E> where
    E: Send,
    P: Send

impl<P, E> Sync for Ellipsis<P, E> where
    E: Sync,
    P: Sync

impl<P, E> Unpin for Ellipsis<P, E> where
    E: Unpin,
    P: Unpin

impl<P, E> UnwindSafe for Ellipsis<P, E> where
    E: UnwindSafe,
    P: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.