Struct mun_runtime::Assembly [−][src]
An assembly is a hot reloadable compilation unit, consisting of one or more Mun modules.
Implementations
impl Assembly
[src]
pub fn load(
library_path: &Path,
gc: Arc<MarkSweep<UnsafeTypeInfo, NoopObserver<Event>>>
) -> Result<Self, Error>
[src]
library_path: &Path,
gc: Arc<MarkSweep<UnsafeTypeInfo, NoopObserver<Event>>>
) -> Result<Self, Error>
Loads an assembly and its information for the shared library at library_path
. The
resulting Assembly
is ensured to be linkable.
pub fn info(&self) -> &AssemblyInfo
[src]
Returns the assembly’s information.
pub fn library_path(&self) -> &Path
[src]
Returns the path corresponding to the assembly’s library.
pub fn into_library(self) -> TempLibrary
[src]
Converts the Assembly
into a TempLibrary
, consuming the input in the process.
Auto Trait Implementations
impl !RefUnwindSafe for Assembly
impl Send for Assembly
impl Sync for Assembly
impl Unpin for Assembly
impl !UnwindSafe for Assembly
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,