pub struct ProgramModule<State = Unverified> {
pub name: ConstantId,
pub code: Module<State>,
pub edges: Vec<Edge>,
pub bindings: Vec<Binding>,
pub exports: Vec<Export>,
}Expand description
A canonical module blob and its program-only identity/linkage metadata.
Fields§
§name: ConstantId§code: Module<State>§edges: Vec<Edge>§bindings: Vec<Binding>§exports: Vec<Export>Implementations§
Trait Implementations§
Source§impl<State: Clone> Clone for ProgramModule<State>
impl<State: Clone> Clone for ProgramModule<State>
Source§fn clone(&self) -> ProgramModule<State>
fn clone(&self) -> ProgramModule<State>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<State: Debug> Debug for ProgramModule<State>
impl<State: Debug> Debug for ProgramModule<State>
impl<State: Eq> Eq for ProgramModule<State>
Source§impl<State: PartialEq> PartialEq for ProgramModule<State>
impl<State: PartialEq> PartialEq for ProgramModule<State>
impl<State: PartialEq> StructuralPartialEq for ProgramModule<State>
Auto Trait Implementations§
impl<State> Freeze for ProgramModule<State>
impl<State> RefUnwindSafe for ProgramModule<State>where
State: RefUnwindSafe,
impl<State> Send for ProgramModule<State>where
State: Send,
impl<State> Sync for ProgramModule<State>where
State: Sync,
impl<State> Unpin for ProgramModule<State>where
State: Unpin,
impl<State> UnsafeUnpin for ProgramModule<State>
impl<State> UnwindSafe for ProgramModule<State>where
State: UnwindSafe,
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