pub struct ModelicaBlock {
pub name: String,
pub content: String,
pub connectors: Vec<ModelicaConnector>,
}Expand description
A block is a class that defines a set of variables that are connected to other connectors or to variables outside the model.
A block may also contain equations, algorithm sections, and initial equations.
Fields§
§name: String§content: String§connectors: Vec<ModelicaConnector>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelicaBlock
impl RefUnwindSafe for ModelicaBlock
impl Send for ModelicaBlock
impl Sync for ModelicaBlock
impl Unpin for ModelicaBlock
impl UnwindSafe for ModelicaBlock
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