Struct solang_parser::pt::StructDefinition
source · [−]pub struct StructDefinition {
pub loc: Loc,
pub name: Identifier,
pub fields: Vec<VariableDeclaration>,
}
Fields
loc: Loc
name: Identifier
fields: Vec<VariableDeclaration>
Trait Implementations
sourceimpl Clone for StructDefinition
impl Clone for StructDefinition
sourcefn clone(&self) -> StructDefinition
fn clone(&self) -> StructDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StructDefinition
impl Debug for StructDefinition
sourceimpl PartialEq<StructDefinition> for StructDefinition
impl PartialEq<StructDefinition> for StructDefinition
sourcefn eq(&self, other: &StructDefinition) -> bool
fn eq(&self, other: &StructDefinition) -> bool
impl Eq for StructDefinition
impl StructuralEq for StructDefinition
impl StructuralPartialEq for StructDefinition
Auto Trait Implementations
impl RefUnwindSafe for StructDefinition
impl Send for StructDefinition
impl Sync for StructDefinition
impl Unpin for StructDefinition
impl UnwindSafe for StructDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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