#[repr(C)]pub enum Shape {
Ellipse = 0,
Circle = 1,
}Variants§
Trait Implementations§
Source§impl FormatAsRustCode for Shape
impl FormatAsRustCode for Shape
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl Ord for Shape
impl Ord for Shape
Source§impl PartialOrd for Shape
impl PartialOrd for Shape
impl Copy for Shape
impl Eq for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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