pub struct Edge {
pub from: Spanned<String>,
pub operator: Spanned<EdgeOperator>,
pub to: Spanned<String>,
pub label: Option<Spanned<String>>,
pub properties: Vec<EdgeProperty>,
pub span: Span,
}Expand description
An edge declaration between two identifiers.
Fields§
§from: Spanned<String>Left endpoint reference.
operator: Spanned<EdgeOperator>Authored edge operator.
to: Spanned<String>Right endpoint reference.
label: Option<Spanned<String>>Optional visible edge label.
properties: Vec<EdgeProperty>Authored edge properties in source order.
span: SpanSpan of the complete declaration.
Trait Implementations§
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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