pub struct MaterialPropertyConnection { /* private fields */ }Expand description
Wraps the corresponding Model I/O material property connection counterpart.
Implementations§
Source§impl MaterialPropertyConnection
impl MaterialPropertyConnection
Sourcepub fn new(output: &MaterialProperty, input: &MaterialProperty) -> Result<Self>
pub fn new(output: &MaterialProperty, input: &MaterialProperty) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O material property connection 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 connection 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 connection counterpart.
Sourcepub fn output(&self) -> Option<MaterialProperty>
pub fn output(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O material property connection counterpart.
Sourcepub fn input(&self) -> Option<MaterialProperty>
pub fn input(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O material property connection counterpart.
Trait Implementations§
Source§impl Clone for MaterialPropertyConnection
impl Clone for MaterialPropertyConnection
Source§fn clone(&self) -> MaterialPropertyConnection
fn clone(&self) -> MaterialPropertyConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MaterialPropertyConnection
impl Debug for MaterialPropertyConnection
Auto Trait Implementations§
impl Freeze for MaterialPropertyConnection
impl RefUnwindSafe for MaterialPropertyConnection
impl !Send for MaterialPropertyConnection
impl !Sync for MaterialPropertyConnection
impl Unpin for MaterialPropertyConnection
impl UnsafeUnpin for MaterialPropertyConnection
impl UnwindSafe for MaterialPropertyConnection
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