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