Trait logic_mesh::base::link::Link

source ·
pub trait Link {
    // Required methods
    fn id(&self) -> &Uuid;
    fn state(&self) -> LinkState;
    fn target_block_id(&self) -> &Uuid;
    fn target_input(&self) -> &str;
}
Expand description

A link creates a connection from a block output to another’s block input.

Required Methods§

source

fn id(&self) -> &Uuid

Unique link id

source

fn state(&self) -> LinkState

Current link state

source

fn target_block_id(&self) -> &Uuid

The id of the target block

source

fn target_input(&self) -> &str

The name of the target input

Implementors§