Trait VariableRefExt

Source
pub(crate) trait VariableRefExt {
    // Required methods
    fn new(path: ScopeRef, name: String) -> Self;
    fn new_with_id(path: ScopeRef, name: String, id: VarId) -> Self;
    fn from_hierarchy_string(s: &str) -> Self;
    fn full_path_string(&self) -> String;
    fn full_path(&self) -> Vec<String>;
    fn from_strs(s: &[&str]) -> Self;
    fn clear_id(&mut self);
    fn cxxrtl_repr(&self) -> String;
}

Required Methods§

Source

fn new(path: ScopeRef, name: String) -> Self

Source

fn new_with_id(path: ScopeRef, name: String, id: VarId) -> Self

Source

fn from_hierarchy_string(s: &str) -> Self

Source

fn full_path_string(&self) -> String

Source

fn full_path(&self) -> Vec<String>

Source

fn from_strs(s: &[&str]) -> Self

Source

fn clear_id(&mut self)

Source

fn cxxrtl_repr(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§