Struct cargo_gazelle::targets::CratesUniverseMacro
source · struct CratesUniverseMacro<Name> {
name: Name,
fields: Vec<MacroOption>,
}
Expand description
crates_universe
exposes a few
macros that make it easier to define depedencies and aliases.
Fields§
§name: Name
§fields: Vec<MacroOption>
Implementations§
source§impl<Name> CratesUniverseMacro<Name>
impl<Name> CratesUniverseMacro<Name>
pub fn normal(self) -> Self
pub fn proc_macro(self) -> Self
pub fn normal_dev(self) -> Self
pub fn proc_macro_dev(self) -> Self
pub fn build(self) -> Self
pub fn build_proc_macro(self) -> Self
Trait Implementations§
source§impl<Name: Debug> Debug for CratesUniverseMacro<Name>
impl<Name: Debug> Debug for CratesUniverseMacro<Name>
source§impl<Name: Default> Default for CratesUniverseMacro<Name>
impl<Name: Default> Default for CratesUniverseMacro<Name>
source§fn default() -> CratesUniverseMacro<Name>
fn default() -> CratesUniverseMacro<Name>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<Name> Freeze for CratesUniverseMacro<Name>where
Name: Freeze,
impl<Name> RefUnwindSafe for CratesUniverseMacro<Name>where
Name: RefUnwindSafe,
impl<Name> Send for CratesUniverseMacro<Name>where
Name: Send,
impl<Name> Sync for CratesUniverseMacro<Name>where
Name: Sync,
impl<Name> Unpin for CratesUniverseMacro<Name>where
Name: Unpin,
impl<Name> UnwindSafe for CratesUniverseMacro<Name>where
Name: UnwindSafe,
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