Trait ScopeRefExt

Source
pub(crate) trait ScopeRefExt {
    // Required methods
    fn empty() -> Self;
    fn from_strs<S: ToString>(s: &[S]) -> Self;
    fn from_strs_with_id(s: &[impl ToString], id: ScopeId) -> Self;
    fn from_hierarchy_string(s: &str) -> Self;
    fn with_subscope(&self, subscope: String, id: ScopeId) -> Self;
    fn name(&self) -> String;
    fn strs(&self) -> &[String];
    fn with_id(&self, id: ScopeId) -> Self;
    fn cxxrtl_repr(&self) -> String;
    fn has_empty_strs(&self) -> bool;
}

Required Methods§

Source

fn empty() -> Self

Source

fn from_strs<S: ToString>(s: &[S]) -> Self

Source

fn from_strs_with_id(s: &[impl ToString], id: ScopeId) -> Self

Source

fn from_hierarchy_string(s: &str) -> Self

Source

fn with_subscope(&self, subscope: String, id: ScopeId) -> Self

Source

fn name(&self) -> String

Source

fn strs(&self) -> &[String]

Source

fn with_id(&self, id: ScopeId) -> Self

Source

fn cxxrtl_repr(&self) -> String

Source

fn has_empty_strs(&self) -> bool

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§