pub struct Io {
pub id: Uuid,
pub ty: Option<TypeRef>,
pub predetermined_key: Option<String>,
}Expand description
A typed slot on a Node — one entry of Node::inputs or
Node::outputs. Which of the two lists holds it is what makes it an
input or an output; the slot itself carries no direction, so the two can
never disagree.
id matches the function’s parameter id (for an input) or is the node’s
output slot id (a return is conventionally the function id itself). ty is
the arora Value type of the slot, taken from the frozen Function
record’s signature when known; None means “leave it to the interpreter to
derive from the function record at build time”.
Fields§
§id: UuidThe slot id: a parameter id for an input, an output slot id for an output.
ty: Option<TypeRef>The slot’s arora Value type, when known from the function signature.
predetermined_key: Option<String>An optional predetermined key: the slot’s default store binding (an
animation track’s authored key, a sink node’s path). The interpreter
binds the slot to this key unless a Link overrides it. Carried here
per proposal §3.6; the full predetermined-I/O semantics land in a later
pass, but the field travels with the model now.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Io
impl<'de> Deserialize<'de> for Io
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>,
impl Eq for Io
impl StructuralPartialEq for Io
Auto Trait Implementations§
impl Freeze for Io
impl RefUnwindSafe for Io
impl Send for Io
impl Sync for Io
impl Unpin for Io
impl UnsafeUnpin for Io
impl UnwindSafe for Io
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.