pub struct Image<I, V = Value, Ty = Type, Info = NoInfo> {
pub module: LocalModule<I, V, Ty, Info>,
}Expand description
Code and metadata for one independently loadable unit.
The outer owner controls replacement. This type contains no PC, stack,
invocation state, or instruction inventory. ProgramImage remains the
separate legacy loader/host API.
Fields§
§module: LocalModule<I, V, Ty, Info>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I, V, Ty, Info> Freeze for Image<I, V, Ty, Info>where
Info: Freeze,
impl<I, V, Ty, Info> RefUnwindSafe for Image<I, V, Ty, Info>
impl<I, V, Ty, Info> Send for Image<I, V, Ty, Info>
impl<I, V, Ty, Info> Sync for Image<I, V, Ty, Info>
impl<I, V, Ty, Info> Unpin for Image<I, V, Ty, Info>
impl<I, V, Ty, Info> UnsafeUnpin for Image<I, V, Ty, Info>where
Info: UnsafeUnpin,
impl<I, V, Ty, Info> UnwindSafe for Image<I, V, Ty, Info>
Blanket Implementations§
Source§impl<D> Apply<PushToStack<()>> for D
impl<D> Apply<PushToStack<()>> for D
Source§fn apply(&mut self, _: PushToStack<()>)
fn apply(&mut self, _: PushToStack<()>)
Apply a single effect to this destination.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].