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§
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
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.