pub struct ShapeDoc {
pub name: String,
pub details: Vec<String>,
}Expand description
Human-facing description of a Shape: a name plus optional detail lines.
Fields§
§name: StringShort name of the shape.
details: Vec<String>Additional detail lines describing the shape.
Implementations§
Trait Implementations§
impl Eq for ShapeDoc
impl StructuralPartialEq for ShapeDoc
Auto Trait Implementations§
impl Freeze for ShapeDoc
impl RefUnwindSafe for ShapeDoc
impl Send for ShapeDoc
impl Sync for ShapeDoc
impl Unpin for ShapeDoc
impl UnsafeUnpin for ShapeDoc
impl UnwindSafe for ShapeDoc
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