Struct solang_parser::pt::EnumDefinition
source · [−]pub struct EnumDefinition {
pub loc: Loc,
pub name: Identifier,
pub values: Vec<Identifier>,
}
Fields
loc: Loc
name: Identifier
values: Vec<Identifier>
Trait Implementations
sourceimpl Clone for EnumDefinition
impl Clone for EnumDefinition
sourcefn clone(&self) -> EnumDefinition
fn clone(&self) -> EnumDefinition
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 EnumDefinition
impl Debug for EnumDefinition
sourceimpl PartialEq<EnumDefinition> for EnumDefinition
impl PartialEq<EnumDefinition> for EnumDefinition
sourcefn eq(&self, other: &EnumDefinition) -> bool
fn eq(&self, other: &EnumDefinition) -> bool
impl Eq for EnumDefinition
impl StructuralEq for EnumDefinition
impl StructuralPartialEq for EnumDefinition
Auto Trait Implementations
impl RefUnwindSafe for EnumDefinition
impl Send for EnumDefinition
impl Sync for EnumDefinition
impl Unpin for EnumDefinition
impl UnwindSafe for EnumDefinition
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