pub struct Script {
    pub attributes: Attributes,
    pub loc: Loc,
    pub immediate_neighbors: UniqueMap<ModuleIdent, Neighbor>,
    pub used_addresses: BTreeSet<Address>,
    pub constants: UniqueMap<ConstantName, Constant>,
    pub function_name: FunctionName,
    pub function: Function,
    pub specs: Vec<SpecBlock>,
}Fields
attributes: Attributesloc: Locimmediate_neighbors: UniqueMap<ModuleIdent, Neighbor>used_addresses: BTreeSet<Address>constants: UniqueMap<ConstantName, Constant>function_name: FunctionNamefunction: Functionspecs: Vec<SpecBlock>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnwindSafe for Script
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more