pub struct EnumDef<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for EnumDef<'a>
impl<'a> AstNode<'a> for EnumDef<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> AttrsOwner<'a> for EnumDef<'a>
impl<'a> AttrsOwner<'a> for EnumDef<'a>
fn attrs(self) -> AstChildren<'a, Attr<'a>> ⓘ
sourceimpl<'a> From<EnumDef<'a>> for EnumDefNode
impl<'a> From<EnumDef<'a>> for EnumDefNode
sourcefn from(ast: EnumDef<'a>) -> EnumDefNode
fn from(ast: EnumDef<'a>) -> EnumDefNode
Converts to this type from the input type.
sourceimpl<'a> TypeParamsOwner<'a> for EnumDef<'a>
impl<'a> TypeParamsOwner<'a> for EnumDef<'a>
fn type_param_list(self) -> Option<TypeParamList<'a>>
fn where_clause(self) -> Option<WhereClause<'a>>
impl<'a> Copy for EnumDef<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EnumDef<'a>
impl<'a> Send for EnumDef<'a>
impl<'a> Sync for EnumDef<'a>
impl<'a> Unpin for EnumDef<'a>
impl<'a> !UnwindSafe for EnumDef<'a>
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