pub enum PolygonRole {
Circle,
Square,
Triangle,
}Variants§
Implementations§
Source§impl PolygonRole
impl PolygonRole
pub const fn spec(self) -> PolygonSpec
Trait Implementations§
Source§impl Clone for PolygonRole
impl Clone for PolygonRole
impl Copy for PolygonRole
Source§impl Debug for PolygonRole
impl Debug for PolygonRole
impl Eq for PolygonRole
Source§impl PartialEq for PolygonRole
impl PartialEq for PolygonRole
impl StructuralPartialEq for PolygonRole
Auto Trait Implementations§
impl Forget for PolygonRole
impl Freeze for PolygonRole
impl Move for PolygonRole
impl RefUnwindSafe for PolygonRole
impl Send for PolygonRole
impl Sync for PolygonRole
impl Unpin for PolygonRole
impl UnsafeUnpin for PolygonRole
impl UnwindSafe for PolygonRole
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