pub trait SocketAdapter {
type SocketId: Id;
// Required methods
fn id(&self) -> Self::SocketId;
fn ui(&self) -> SocketUI;
}
Expand description
An adapter that represent a socket of a graph.
pub trait SocketAdapter {
type SocketId: Id;
// Required methods
fn id(&self) -> Self::SocketId;
fn ui(&self) -> SocketUI;
}
An adapter that represent a socket of a graph.