pub enum Shape {
Rect(Rect),
RoundedRect(Rect, f32),
Ellipse(Rect),
Path(Path),
}Variants§
Trait Implementations§
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Forget for Shape
impl Freeze for Shape
impl Move for Shape
impl RefUnwindSafe for Shape
impl Send for Shapewhere
RawVecInner: Send,
impl Sync for Shapewhere
RawVecInner: Sync,
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shapewhere
RawVecInner: 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