pub struct NodeMetadata {
pub kind: String,
pub description: Option<String>,
pub inputs: Vec<InputPin>,
pub outputs: Vec<OutputPin>,
pub param_schema: Value,
pub categories: Vec<String>,
}Expand description
Metadata about a node type
Fields§
§kind: String§description: Option<String>§inputs: Vec<InputPin>§outputs: Vec<OutputPin>§param_schema: Value§categories: Vec<String>Implementations§
Source§impl NodeMetadata
impl NodeMetadata
Sourcepub fn builder(kind: &str) -> NodeMetadataBuilder
pub fn builder(kind: &str) -> NodeMetadataBuilder
Create a builder for node metadata
Auto Trait Implementations§
impl Freeze for NodeMetadata
impl RefUnwindSafe for NodeMetadata
impl Send for NodeMetadata
impl Sync for NodeMetadata
impl Unpin for NodeMetadata
impl UnwindSafe for NodeMetadata
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