pub struct Ghost {
pub node: String,
pub rule: String,
pub link: Value,
pub to_type: Value,
pub plane: Value,
}Expand description
A node that a failed require_link says should exist: “a link of this type to something of
this type, in this plane”. The editor draws these as ghosts.
Fields§
§node: StringId of the node the missing link starts from.
rule: StringId of the rule that asks for it.
link: ValueThe wanted link type.
to_type: ValueThe wanted node type.
plane: ValueThe plane the missing node belongs in.
Trait Implementations§
impl StructuralPartialEq for Ghost
Auto Trait Implementations§
impl Freeze for Ghost
impl RefUnwindSafe for Ghost
impl Send for Ghost
impl Sync for Ghost
impl Unpin for Ghost
impl UnsafeUnpin for Ghost
impl UnwindSafe for Ghost
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