pub struct Node {
pub label: Option<Id>,
pub peripheries: Option<usize>,
pub _non_exhaustive: (),
}
Expand description
Optionally contains the possible node attributes.
Fields§
§label: Option<Id>
A label to appear, can be html or an escaped string.
peripheries: Option<usize>
Number of stacked polygon lines for the outer shape.
Final/Accepting states in automaton are marked by two peripheral lines. The default value for this attribute is 1.
_non_exhaustive: ()
Use .. Node::Default()
to make the structs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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