pub enum ShapeKind {
None,
Box(String),
Circle(String),
DoubleCircle(String),
Record(RecordDef),
Connector(Option<String>),
}
Variants§
Implementations§
Source§impl ShapeKind
impl ShapeKind
pub fn new_box(s: &str) -> Self
pub fn new_circle(s: &str) -> Self
pub fn new_double_circle(s: &str) -> Self
pub fn new_record(r: &RecordDef) -> Self
pub fn new_connector(s: &str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShapeKind
impl RefUnwindSafe for ShapeKind
impl Send for ShapeKind
impl Sync for ShapeKind
impl Unpin for ShapeKind
impl UnwindSafe for ShapeKind
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