pub struct NodeSurfaceSlotProjection {
pub key: String,
pub kind: NodeSurfaceSlotKind,
pub label: String,
pub value: String,
pub visible: bool,
pub controls: Vec<NodeControlDescriptor>,
}Expand description
Minimal adapter-facing slot projection derived from a semantic slot descriptor.
Fields§
§key: String§kind: NodeSurfaceSlotKind§label: String§value: String§visible: bool§controls: Vec<NodeControlDescriptor>Implementations§
Source§impl NodeSurfaceSlotProjection
impl NodeSurfaceSlotProjection
pub fn from_descriptor( node_data: &Value, slot: &NodeSurfaceSlotDescriptor, compact_values: bool, ) -> Self
Trait Implementations§
Source§impl Clone for NodeSurfaceSlotProjection
impl Clone for NodeSurfaceSlotProjection
Source§fn clone(&self) -> NodeSurfaceSlotProjection
fn clone(&self) -> NodeSurfaceSlotProjection
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 NodeSurfaceSlotProjection
impl Debug for NodeSurfaceSlotProjection
Source§impl<'de> Deserialize<'de> for NodeSurfaceSlotProjection
impl<'de> Deserialize<'de> for NodeSurfaceSlotProjection
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 NodeSurfaceSlotProjection
impl PartialEq for NodeSurfaceSlotProjection
Source§fn eq(&self, other: &NodeSurfaceSlotProjection) -> bool
fn eq(&self, other: &NodeSurfaceSlotProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeSurfaceSlotProjection
Auto Trait Implementations§
impl Freeze for NodeSurfaceSlotProjection
impl RefUnwindSafe for NodeSurfaceSlotProjection
impl Send for NodeSurfaceSlotProjection
impl Sync for NodeSurfaceSlotProjection
impl Unpin for NodeSurfaceSlotProjection
impl UnsafeUnpin for NodeSurfaceSlotProjection
impl UnwindSafe for NodeSurfaceSlotProjection
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