Struct mun_runtime::Assembly[][src]

pub struct Assembly { /* fields omitted */ }

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,