pub struct ContractStorage {
target: ItemStruct,
}
Fields§
§target: ItemStruct
Implementations§
Source§impl ContractStorage
impl ContractStorage
Sourcepub fn new(input: ItemStruct) -> Self
pub fn new(input: ItemStruct) -> Self
Create a new ContractStorage from an input struct
Sourcepub fn parse(input: TokenStream) -> TokenStream
pub fn parse(input: TokenStream) -> TokenStream
Parse and validate the input, returning a TokenStream
Sourcefn expand(&self) -> TokenStream
fn expand(&self) -> TokenStream
Generate the expanded TokenStream
Auto Trait Implementations§
impl Freeze for ContractStorage
impl RefUnwindSafe for ContractStorage
impl !Send for ContractStorage
impl !Sync for ContractStorage
impl Unpin for ContractStorage
impl UnwindSafe for ContractStorage
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