Struct moore_svlog::ty::StructMember [−][src]
pub struct StructMember<'a> {
pub name: Spanned<Name>,
pub ty: &'a UnpackedType<'a>,
pub ast_member: &'a StructMember<'a>,
pub ast_name: &'a VarDeclName<'a>,
}
Expand description
A member of a struct type.
Fields
name: Spanned<Name>
The name.
ty: &'a UnpackedType<'a>
The type.
ast_member: &'a StructMember<'a>
The AST node of the member declaration.
ast_name: &'a VarDeclName<'a>
The AST node of the member name.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for StructMember<'a>
impl<'a> Send for StructMember<'a>
impl<'a> Sync for StructMember<'a>
impl<'a> Unpin for StructMember<'a>
impl<'a> !UnwindSafe for StructMember<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more