pub enum Shape<A: Attributes> {
Draw(A, f32, f32, Vec<DrawCommand<A>>),
RoundedRectangle(A, f32, f32, f32, f32, f32, f32),
Rectangle(A, f32, f32, f32, f32),
Ellipse(A, f32, f32, f32, f32),
}Variants§
Draw(A, f32, f32, Vec<DrawCommand<A>>)
RoundedRectangle(A, f32, f32, f32, f32, f32, f32)
Rectangle(A, f32, f32, f32, f32)
Ellipse(A, f32, f32, f32, f32)
Auto Trait Implementations§
impl<A> Freeze for Shape<A>where
A: Freeze,
impl<A> RefUnwindSafe for Shape<A>where
A: RefUnwindSafe,
impl<A> Send for Shape<A>where
A: Send,
impl<A> Sync for Shape<A>where
A: Sync,
impl<A> Unpin for Shape<A>where
A: Unpin,
impl<A> UnwindSafe for Shape<A>where
A: 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