cargo_gazelle::targets

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