pub struct Socket {
pub name: String,
pub data_type: DataType,
pub direction: SocketDirection,
pub default_value: Option<ParamValue>,
}Expand description
A socket on a node — either an input or an output.
Fields§
§name: String§data_type: DataType§direction: SocketDirection§default_value: Option<ParamValue>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Socket
impl RefUnwindSafe for Socket
impl Send for Socket
impl Sync for Socket
impl Unpin for Socket
impl UnsafeUnpin for Socket
impl UnwindSafe for Socket
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