Trait cargo_gazelle::targets::RustTarget

source ·
pub trait RustTarget: ToBazelDefinition {
    // Required method
    fn rules(&self) -> Vec<Rule>;
}

Required Methods§

source

fn rules(&self) -> Vec<Rule>

Returns the Bazel rules that need to be loaded for this target.

Implementations on Foreign Types§

source§

impl<T: RustTarget> RustTarget for Option<T>

source§

fn rules(&self) -> Vec<Rule>

Implementors§