pub trait Scope:
Copy
+ Eq
+ Hash
+ Glyph
+ 'static {
// Required method
fn label(&self) -> &'static str;
// Provided method
fn is_default(&self) -> bool { ... }
}Required Methods§
Provided Methods§
Sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Whether this is the default/public scope. Commands with the default scope are shown first in compact summaries.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".