pub trait ExposeDeclCommon:
SourceName
+ SourcePath
+ Debug
+ Send
+ Sync {
// Required methods
fn target_name(&self) -> &Name;
fn target(&self) -> &ExposeTarget;
fn source(&self) -> &ExposeSource;
fn availability(&self) -> &Availability;
}Expand description
The common properties of an Expose declaration.
Required Methods§
fn target_name(&self) -> &Name
fn target(&self) -> &ExposeTarget
fn source(&self) -> &ExposeSource
fn availability(&self) -> &Availability
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".