pub struct HarbouredGraphDecl {
pub span: Span,
pub name: String,
pub slot: u16,
pub morphology: String,
pub role: String,
pub anchors: Vec<String>,
pub weights: Option<String>,
pub edge_binding: Vec<String>,
pub invariants: Vec<String>,
pub boundary: Option<BoundaryDecl>,
}Expand description
A single graph <Name> : <Morphology> { ... } harboured inside a host GeometryDecl.
Fields§
§span: Span§name: String§slot: u16§morphology: String§role: String§anchors: Vec<String>§weights: Option<String>§edge_binding: Vec<String>§invariants: Vec<String>§boundary: Option<BoundaryDecl>Trait Implementations§
Source§impl Clone for HarbouredGraphDecl
impl Clone for HarbouredGraphDecl
Source§impl Debug for HarbouredGraphDecl
impl Debug for HarbouredGraphDecl
impl Eq for HarbouredGraphDecl
Source§impl PartialEq for HarbouredGraphDecl
impl PartialEq for HarbouredGraphDecl
impl StructuralPartialEq for HarbouredGraphDecl
Auto Trait Implementations§
impl Freeze for HarbouredGraphDecl
impl RefUnwindSafe for HarbouredGraphDecl
impl Send for HarbouredGraphDecl
impl Sync for HarbouredGraphDecl
impl Unpin for HarbouredGraphDecl
impl UnsafeUnpin for HarbouredGraphDecl
impl UnwindSafe for HarbouredGraphDecl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.