Struct cargo_gazelle::config::GlobalConfig
source · pub struct GlobalConfig {
pub ignored_crates: Vec<Cow<'static, str>>,
pub proto_build_crates: Vec<Cow<'static, str>>,
}
Expand description
Global configuration for generating BUILD
files.
Fields§
§ignored_crates: Vec<Cow<'static, str>>
§proto_build_crates: Vec<Cow<'static, str>>
Implementations§
source§impl GlobalConfig
impl GlobalConfig
sourcepub fn include_dep(&self, name: &str) -> bool
pub fn include_dep(&self, name: &str) -> bool
Returns true
if the named dependency should be included, false
if it should be ignored.
Trait Implementations§
source§impl Clone for GlobalConfig
impl Clone for GlobalConfig
source§fn clone(&self) -> GlobalConfig
fn clone(&self) -> GlobalConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GlobalConfig
impl Debug for GlobalConfig
Auto Trait Implementations§
impl Freeze for GlobalConfig
impl RefUnwindSafe for GlobalConfig
impl Send for GlobalConfig
impl Sync for GlobalConfig
impl Unpin for GlobalConfig
impl UnwindSafe for GlobalConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)