pub struct ArrayConstructor(/* private fields */);Trait Implementations§
Source§impl Clone for ArrayConstructor
impl Clone for ArrayConstructor
Source§fn clone(&self) -> ArrayConstructor
fn clone(&self) -> ArrayConstructor
Returns a duplicate of the value. Read more
1.0.0 · 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 ArrayConstructor
impl Debug for ArrayConstructor
Source§impl Node for ArrayConstructor
impl Node for ArrayConstructor
Source§fn execute(&self, context: &mut ExecutionContext<'_>) -> usize
fn execute(&self, context: &mut ExecutionContext<'_>) -> usize
Execution of the node’s code. Returns a branch index.
Source§fn variants(&self) -> Vec<Cow<'_, str>>
fn variants(&self) -> Vec<Cow<'_, str>>
Variants of a node. Internally can be anythingg that can be converted to string
Source§fn current_variant(&self) -> Cow<'_, str>
fn current_variant(&self) -> Cow<'_, str>
Current selected variant of the node
Source§fn set_variant(&mut self, variant: &str)
fn set_variant(&mut self, variant: &str)
Set a specific variant of a node
Source§fn accepts_arbitrary_variants(&self) -> bool
fn accepts_arbitrary_variants(&self) -> bool
Whether variation can be set as a custom string (not listed in
variants) or notSource§fn inputs(&self) -> Vec<InputSocket>
fn inputs(&self) -> Vec<InputSocket>
Get information about node’s inputs
Source§fn outputs(&self) -> Vec<OutputSocket>
fn outputs(&self) -> Vec<OutputSocket>
Get information about node’s outputs
Source§fn clone_node(&self) -> Rc<dyn Node>
fn clone_node(&self) -> Rc<dyn Node>
Clone the node itself instead of it wrapped in Rc
Auto Trait Implementations§
impl Freeze for ArrayConstructor
impl RefUnwindSafe for ArrayConstructor
impl Send for ArrayConstructor
impl Sync for ArrayConstructor
impl Unpin for ArrayConstructor
impl UnwindSafe for ArrayConstructor
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