pub struct FmuInfo {
pub name: String,
pub resource_path: PathBuf,
}Expand description
Structure to store information about the FMU that will eventually be passed by some of the standard FMI functions. This structure can, optionally, be added to an struct that might need the information to work properly. The main intended use case is to be able to load resources based on a path that is dependent on the location of the FMU
Fields§
§name: StringThe name of the FMU instance
resource_path: PathBufThe path to the local resource folder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FmuInfo
impl RefUnwindSafe for FmuInfo
impl Send for FmuInfo
impl Sync for FmuInfo
impl Unpin for FmuInfo
impl UnwindSafe for FmuInfo
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