pub trait NodeTrait:
Clone
+ Into<Node>
+ Default {
// Required methods
fn common_params_ref(&self) -> &CommonParameters;
fn set_common_params(&mut self, params: CommonParameters);
}
Expand description
Base trait for nodes
Required Methods§
Sourcefn common_params_ref(&self) -> &CommonParameters
fn common_params_ref(&self) -> &CommonParameters
Return a reference to the common params of a node
Sourcefn set_common_params(&mut self, params: CommonParameters)
fn set_common_params(&mut self, params: CommonParameters)
Set the comment parameter for a node
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.