Function nannou::ui::widget::graph::node::socket_rect[][src]

pub fn socket_rect(
    node_id: NodeIndex<u32>,
    socket_type: SocketType,
    socket_index: usize,
    ui: &Ui
) -> Option<Rect>
Expand description

Retrieve the Rect for the given socket on the given node.

Returns None if there is no node for the given Id or if the socket_index is out of range.