pub struct NodeKindViewDescriptor {
pub kind: NodeKindKey,
pub renderer_key: String,
pub title: String,
pub category: Vec<String>,
pub keywords: Vec<String>,
pub default_size: Option<CanvasSize>,
pub ports: Vec<PortDecl>,
pub default_data: Value,
}Expand description
Renderer-neutral node-kind descriptor for adapter palettes and renderer lookup.
Fields§
§kind: NodeKindKeyCanonical kind key.
renderer_key: StringAdapter-owned renderer lookup key.
title: StringUI-facing title.
category: Vec<String>Category path for create-node search/palette grouping.
keywords: Vec<String>Search keywords.
default_size: Option<CanvasSize>Default logical node size for initial adapter layout before measurement.
ports: Vec<PortDecl>Declared ports.
default_data: ValueDefault node payload.
Trait Implementations§
Source§impl Clone for NodeKindViewDescriptor
impl Clone for NodeKindViewDescriptor
Source§fn clone(&self) -> NodeKindViewDescriptor
fn clone(&self) -> NodeKindViewDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeKindViewDescriptor
impl Debug for NodeKindViewDescriptor
Source§impl<'de> Deserialize<'de> for NodeKindViewDescriptor
impl<'de> Deserialize<'de> for NodeKindViewDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodeKindViewDescriptor
impl PartialEq for NodeKindViewDescriptor
Source§fn eq(&self, other: &NodeKindViewDescriptor) -> bool
fn eq(&self, other: &NodeKindViewDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeKindViewDescriptor
impl Serialize for NodeKindViewDescriptor
impl StructuralPartialEq for NodeKindViewDescriptor
Auto Trait Implementations§
impl Freeze for NodeKindViewDescriptor
impl RefUnwindSafe for NodeKindViewDescriptor
impl Send for NodeKindViewDescriptor
impl Sync for NodeKindViewDescriptor
impl Unpin for NodeKindViewDescriptor
impl UnsafeUnpin for NodeKindViewDescriptor
impl UnwindSafe for NodeKindViewDescriptor
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