Struct syn_solidity::ItemStruct 
source · pub struct ItemStruct {
    pub attrs: Vec<Attribute>,
    pub struct_token: Struct,
    pub name: SolIdent,
    pub brace_token: Brace,
    pub fields: FieldList,
}Expand description
A struct definition: struct Foo { uint256 bar; }.
Solidity reference: https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityParser.structDefinition
Fields§
§attrs: Vec<Attribute>§struct_token: Struct§name: SolIdent§brace_token: Brace§fields: FieldListImplementations§
Trait Implementations§
source§impl Clone for ItemStruct
 
impl Clone for ItemStruct
source§fn clone(&self) -> ItemStruct
 
fn clone(&self) -> ItemStruct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ItemStruct
 
impl Debug for ItemStruct
source§impl Hash for ItemStruct
 
impl Hash for ItemStruct
source§impl Parse for ItemStruct
 
impl Parse for ItemStruct
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq<ItemStruct> for ItemStruct
 
impl PartialEq<ItemStruct> for ItemStruct
source§impl Spanned for ItemStruct
 
impl Spanned for ItemStruct
impl Eq for ItemStruct
Auto Trait Implementations§
impl RefUnwindSafe for ItemStruct
impl !Send for ItemStruct
impl !Sync for ItemStruct
impl Unpin for ItemStruct
impl UnwindSafe for ItemStruct
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