Struct dialogical::Link
source · pub struct Link {
pub targets: LinkKVPair,
pub associations: Vec<LinkKVPair>,
pub negative: bool,
}Expand description
One section of link commands…
Fields§
§targets: LinkKVPair§associations: Vec<LinkKVPair>§negative: boolImplementations§
source§impl Link
impl Link
Target = thing to track Association = thing to link to the target
In practice:
Link NAME
pub fn new(property: &str, target: &str) -> Self
pub fn from_pair(from: LinkKVPair) -> Self
pub fn add_association(&mut self, pair: LinkKVPair)
Trait Implementations§
source§impl PartialEq for Link
impl PartialEq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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