Trait 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§