Struct cbindgen::MacroExpansionConfig
source · [−]pub struct MacroExpansionConfig {
pub bitflags: bool,
}Expand description
Settings for custom macro expansion.
Fields
bitflags: boolWhether the bitflags macro should be expanded.
Trait Implementations
sourceimpl Clone for MacroExpansionConfig
impl Clone for MacroExpansionConfig
sourcefn clone(&self) -> MacroExpansionConfig
fn clone(&self) -> MacroExpansionConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MacroExpansionConfig
impl Debug for MacroExpansionConfig
sourceimpl Default for MacroExpansionConfig
impl Default for MacroExpansionConfig
sourcefn default() -> MacroExpansionConfig
fn default() -> MacroExpansionConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MacroExpansionConfig where
MacroExpansionConfig: Default,
impl<'de> Deserialize<'de> for MacroExpansionConfig where
MacroExpansionConfig: Default,
sourcefn 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 RefUnwindSafe for MacroExpansionConfig
impl Send for MacroExpansionConfig
impl Sync for MacroExpansionConfig
impl Unpin for MacroExpansionConfig
impl UnwindSafe for MacroExpansionConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more