Expand description
Ellipsis (2D), represented by center and radius in both axii.
Fields
center: Vec2<P>
radius: Extent2<E>
Trait Implementations
sourceimpl<'de, P, E> Deserialize<'de> for Ellipsis<P, E> where
P: Deserialize<'de>,
E: Deserialize<'de>,
impl<'de, P, E> Deserialize<'de> for Ellipsis<P, E> where
P: Deserialize<'de>,
E: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<P: Copy, E: Copy> Copy for Ellipsis<P, E>
impl<P: Eq, E: Eq> Eq for Ellipsis<P, E>
impl<P, E> StructuralEq for Ellipsis<P, E>
impl<P, E> StructuralPartialEq for Ellipsis<P, E>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more