pub struct Ellipsis<P, E> {
pub center: Vec2<P>,
pub radius: Extent2<E>,
}
Expand description
Ellipsis (2D), represented by center and radius in both axii.
Fields§
§center: Vec2<P>
§radius: Extent2<E>
Trait Implementations§
source§impl<'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>,
source§fn 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
source§impl<P: PartialEq, E: PartialEq> PartialEq<Ellipsis<P, E>> for Ellipsis<P, E>
impl<P: PartialEq, E: PartialEq> PartialEq<Ellipsis<P, E>> for Ellipsis<P, E>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more