Struct moore_vhdl::hir::TypeDecl
source · [−]pub struct TypeDecl {
pub parent: ScopeRef,
pub name: Spanned<Name>,
pub data: Option<Spanned<TypeData>>,
}
Fields
parent: ScopeRef
The parent scope.
name: Spanned<Name>
The type name.
data: Option<Spanned<TypeData>>
The type data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeDecl
impl Send for TypeDecl
impl Sync for TypeDecl
impl Unpin for TypeDecl
impl UnwindSafe for TypeDecl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more