Struct moore_vhdl::hir::ConstDecl
source · [−]pub struct ConstDecl {
pub ty: SubtypeIndRef,
pub init: Option<ExprRef>,
}
Expand description
A constant declaration.
See IEEE 1076-2008 section 6.4.2.2.
Fields
ty: SubtypeIndRef
The type of the constant.
init: Option<ExprRef>
The optional initial value for the constant.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConstDecl
impl Send for ConstDecl
impl Sync for ConstDecl
impl Unpin for ConstDecl
impl UnwindSafe for ConstDecl
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