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