pub struct Var { /* private fields */ }Implementations§
source§impl Var
impl Var
sourcepub fn full_name<'a>(&self, hierarchy: &Hierarchy) -> String
pub fn full_name<'a>(&self, hierarchy: &Hierarchy) -> String
Full hierarchical name of the variable.
pub fn var_type(&self) -> VarType
pub fn enum_type<'a>( &self, hierarchy: &'a Hierarchy ) -> Option<(&'a str, Vec<(&'a str, &'a str)>)>
pub fn vhdl_type_name<'a>(&self, hierarchy: &'a Hierarchy) -> Option<&'a str>
pub fn direction(&self) -> VarDirection
pub fn index(&self) -> Option<VarIndex>
pub fn signal_ref(&self) -> SignalRef
pub fn length(&self) -> Option<u32>
pub fn is_real(&self) -> bool
pub fn is_string(&self) -> bool
pub fn is_bit_vector(&self) -> bool
pub fn is_1bit(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Var
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more