Struct sway_core::parse_tree::declaration::StorageDeclaration
source · [−]pub struct StorageDeclaration {
pub fields: Vec<StorageField>,
pub span: Span,
}
Expand description
A declaration of contract storage. Only valid within contract contexts. All values in this struct are mutable and persistent among executions of the same contract deployment.
Fields
fields: Vec<StorageField>
span: Span
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StorageDeclaration
impl Send for StorageDeclaration
impl Sync for StorageDeclaration
impl Unpin for StorageDeclaration
impl UnwindSafe for StorageDeclaration
Blanket Implementations
Mutably borrows from an owned value. Read more