pub enum ShapeKind {
None,
Box(String),
Circle(String),
DoubleCircle(String),
Record(RecordDef),
Connector(Option<String>),
}
Variants
None
Box(String)
Circle(String)
DoubleCircle(String)
Record(RecordDef)
Connector(Option<String>)
Implementations
sourceimpl 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 RefUnwindSafe for ShapeKind
impl Send for ShapeKind
impl Sync for ShapeKind
impl Unpin for ShapeKind
impl UnwindSafe for ShapeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more