Struct sway_core::parse_tree::declaration::TraitDeclaration
source · [−]pub struct TraitDeclaration {
pub name: Ident,
pub visibility: Visibility,
/* private fields */
}
Fields
name: Ident
visibility: Visibility
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraitDeclaration
impl Send for TraitDeclaration
impl Sync for TraitDeclaration
impl Unpin for TraitDeclaration
impl UnwindSafe for TraitDeclaration
Blanket Implementations
Mutably borrows from an owned value. Read more