pub struct MultiplyNode {
pub a: InputTyped<Dynamic, { 0 }>,
pub b: InputTyped<Dynamic, { _ }>,
pub out: OutputTyped<Dynamic, { 0 }>,
}Expand description
Multiply vectors and matrixes.
Fields§
§a: InputTyped<Dynamic, { 0 }>Input A.
b: InputTyped<Dynamic, { _ }>Input B.
out: OutputTyped<Dynamic, { 0 }>Output.
Implementations§
Source§impl MultiplyNode
impl MultiplyNode
Source§impl MultiplyNode
impl MultiplyNode
pub fn resolve_inputs( &self, graph: &NodeGraph, compile: &mut NodeGraphCompile, ) -> Result<(CompiledValue, CompiledValue)>
Trait Implementations§
Source§impl Clone for MultiplyNode
impl Clone for MultiplyNode
Source§fn clone(&self) -> MultiplyNode
fn clone(&self) -> MultiplyNode
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 MultiplyNode
impl Debug for MultiplyNode
Source§impl Default for MultiplyNode
impl Default for MultiplyNode
Source§fn default() -> MultiplyNode
fn default() -> MultiplyNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MultiplyNode
impl<'de> Deserialize<'de> for MultiplyNode
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 NodeImpl for MultiplyNode
impl NodeImpl for MultiplyNode
fn clone_node(&self) -> Box<dyn NodeImpl>
fn def(&self) -> &NodeDefinition
fn get_node_input(&self, key: &InputKey) -> Result<Input>
fn set_node_input( &mut self, key: &InputKey, _value: Input, ) -> Result<Option<OutputId>>
fn get_param(&self, name: &str) -> Result<ParameterValue>
fn set_param(&mut self, name: &str, _value: ParameterValue) -> Result<()>
fn inputs_ui( &mut self, _concrete_type: &mut NodeConcreteType, _ui: &mut Ui, _id: NodeId, _details: bool, ) -> bool
fn outputs_ui( &mut self, _concrete_type: &mut NodeConcreteType, _ui: &mut Ui, _id: NodeId, _details: bool, ) -> bool
fn parameters_ui( &mut self, _concrete_type: &mut NodeConcreteType, _ui: &mut Ui, _id: NodeId, _details: bool, ) -> bool
fn compile( &self, graph: &NodeGraph, compile: &mut NodeGraphCompile, id: NodeId, ) -> Result<()>
fn cache_output(&self) -> bool
fn get_input_idx(&self, key: &InputKey) -> Result<u32>
fn eval( &self, _graph: &NodeGraph, _execution: &mut NodeGraphExecution, _id: NodeId, ) -> Result<Value>
fn details_ui(&mut self, ui: &mut Ui, id: NodeId) -> bool
fn node_ui(&mut self, ui: &mut Ui, id: NodeId) -> bool
fn ui(&mut self, ui: &mut Ui, id: NodeId, details: bool) -> bool
Auto Trait Implementations§
impl Freeze for MultiplyNode
impl RefUnwindSafe for MultiplyNode
impl Send for MultiplyNode
impl Sync for MultiplyNode
impl Unpin for MultiplyNode
impl UnsafeUnpin for MultiplyNode
impl UnwindSafe for MultiplyNode
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