pub struct MaterialPropertyGraph { /* private fields */ }Expand description
Wraps the corresponding Model I/O material property graph counterpart.
Implementations§
Source§impl MaterialPropertyGraph
impl MaterialPropertyGraph
Sourcepub fn new(
nodes: &[&MaterialPropertyNode],
connections: &[&MaterialPropertyConnection],
) -> Result<Self>
pub fn new( nodes: &[&MaterialPropertyNode], connections: &[&MaterialPropertyConnection], ) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O material property graph counterpart.
Sourcepub fn name(&self) -> Option<String>
pub fn name(&self) -> Option<String>
Calls the corresponding Model I/O method on the wrapped Model I/O material property graph counterpart.
Sourcepub fn set_name(&self, name: &str) -> Result<()>
pub fn set_name(&self, name: &str) -> Result<()>
Calls the corresponding Model I/O method on the wrapped Model I/O material property graph counterpart.
Sourcepub fn evaluate(&self)
pub fn evaluate(&self)
Calls the corresponding Model I/O method on the wrapped Model I/O material property graph counterpart.
Sourcepub fn nodes(&self) -> Result<Vec<MaterialPropertyNode>>
pub fn nodes(&self) -> Result<Vec<MaterialPropertyNode>>
Calls the corresponding Model I/O method on the wrapped Model I/O material property graph counterpart.
Sourcepub fn connections(&self) -> Result<Vec<MaterialPropertyConnection>>
pub fn connections(&self) -> Result<Vec<MaterialPropertyConnection>>
Calls the corresponding Model I/O method on the wrapped Model I/O material property graph counterpart.
Sourcepub fn as_node(&self) -> MaterialPropertyNode
pub fn as_node(&self) -> MaterialPropertyNode
Calls the corresponding Model I/O method on the wrapped Model I/O material property graph counterpart.
Trait Implementations§
Source§impl Clone for MaterialPropertyGraph
impl Clone for MaterialPropertyGraph
Source§fn clone(&self) -> MaterialPropertyGraph
fn clone(&self) -> MaterialPropertyGraph
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more