pub struct MacroExpansionConfig {
pub bitflags: bool,
}
Expand description
Settings for custom macro expansion.
Fields§
§bitflags: bool
Whether the bitflags
macro should be expanded.
Trait Implementations§
Source§impl Clone for MacroExpansionConfig
impl Clone for MacroExpansionConfig
Source§fn clone(&self) -> MacroExpansionConfig
fn clone(&self) -> MacroExpansionConfig
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 MacroExpansionConfig
impl Debug for MacroExpansionConfig
Source§impl Default for MacroExpansionConfig
impl Default for MacroExpansionConfig
Source§fn default() -> MacroExpansionConfig
fn default() -> MacroExpansionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MacroExpansionConfigwhere
MacroExpansionConfig: Default,
impl<'de> Deserialize<'de> for MacroExpansionConfigwhere
MacroExpansionConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MacroExpansionConfig
impl RefUnwindSafe for MacroExpansionConfig
impl Send for MacroExpansionConfig
impl Sync for MacroExpansionConfig
impl Unpin for MacroExpansionConfig
impl UnwindSafe for MacroExpansionConfig
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