pub struct Ellipse<FILL: FillType> {
pub midpoint_x: f32,
pub midpoint_y: f32,
pub x1: f32,
pub y1: f32,
pub x2: f32,
pub y2: f32,
pub num_points: u32,
pub fill: PhantomData<FILL>,
}Expand description
Defines a Circle by its midpoint and two vectors from the midpoint to the circumference.
Fields§
§midpoint_x: f32§midpoint_y: f32§x1: f32§y1: f32§x2: f32§y2: f32§num_points: u32§fill: PhantomData<FILL>Trait Implementations§
Source§impl DynamicDrawable<3> for Ellipse<NoFill>
impl DynamicDrawable<3> for Ellipse<NoFill>
impl<FILL: FillType> StructuralPartialEq for Ellipse<FILL>
Auto Trait Implementations§
impl<FILL> Freeze for Ellipse<FILL>
impl<FILL> RefUnwindSafe for Ellipse<FILL>where
FILL: RefUnwindSafe,
impl<FILL> Send for Ellipse<FILL>where
FILL: Send,
impl<FILL> Sync for Ellipse<FILL>where
FILL: Sync,
impl<FILL> Unpin for Ellipse<FILL>where
FILL: Unpin,
impl<FILL> UnwindSafe for Ellipse<FILL>where
FILL: 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