cm_rust

Trait ExposeDeclCommon

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

Source

fn target_name(&self) -> &Name

Source

fn target(&self) -> &ExposeTarget

Source

fn source(&self) -> &ExposeSource

Source

fn availability(&self) -> &Availability

Implementors§