pub trait UseDeclCommon:
SourceName
+ SourcePath
+ Send
+ Sync {
// Required methods
fn source(&self) -> &UseSource;
fn availability(&self) -> &Availability;
}Expand description
The common properties of a Use declaration.
Required Methods§
fn source(&self) -> &UseSource
fn availability(&self) -> &Availability
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl UseDeclCommon for UseConfigurationDecl
impl UseDeclCommon for UseDecl
impl UseDeclCommon for UseDictionaryDecl
impl UseDeclCommon for UseDirectoryDecl
impl UseDeclCommon for UseEventStreamDecl
impl UseDeclCommon for UseProtocolDecl
impl UseDeclCommon for UseRunnerDecl
Available on
fuchsia_api_level_at_least=HEAD only.