pub struct AbsoluteNode {
pub a: InputTyped<DynamicVector, { 0 }>,
pub out: OutputTyped<DynamicVector, { 0 }>,
}Expand description
Absolute input a.
Fields§
§a: InputTyped<DynamicVector, { 0 }>Input A.
out: OutputTyped<DynamicVector, { 0 }>Output out.
Implementations§
Source§impl AbsoluteNode
impl AbsoluteNode
Source§impl AbsoluteNode
impl AbsoluteNode
pub fn resolve_inputs( &self, graph: &NodeGraph, compile: &mut NodeGraphCompile, ) -> Result<CompiledValue>
Trait Implementations§
Source§impl Clone for AbsoluteNode
impl Clone for AbsoluteNode
Source§fn clone(&self) -> AbsoluteNode
fn clone(&self) -> AbsoluteNode
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 AbsoluteNode
impl Debug for AbsoluteNode
Source§impl Default for AbsoluteNode
impl Default for AbsoluteNode
Source§fn default() -> AbsoluteNode
fn default() -> AbsoluteNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AbsoluteNode
impl<'de> Deserialize<'de> for AbsoluteNode
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 AbsoluteNode
impl NodeImpl for AbsoluteNode
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 AbsoluteNode
impl RefUnwindSafe for AbsoluteNode
impl Send for AbsoluteNode
impl Sync for AbsoluteNode
impl Unpin for AbsoluteNode
impl UnsafeUnpin for AbsoluteNode
impl UnwindSafe for AbsoluteNode
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