pub struct EnumConfig {
pub c_style: bool,
pub sealed: bool,
pub output_type: HashMap<&'static str, &'static str>,
}Expand description
Configure the generation style of enums.
Fields§
§c_style: bool§sealed: bool§output_type: HashMap<&'static str, &'static str>Trait Implementations§
Source§impl Clone for EnumConfig
impl Clone for EnumConfig
Source§fn clone(&self) -> EnumConfig
fn clone(&self) -> EnumConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EnumConfig
impl RefUnwindSafe for EnumConfig
impl Send for EnumConfig
impl Sync for EnumConfig
impl Unpin for EnumConfig
impl UnsafeUnpin for EnumConfig
impl UnwindSafe for EnumConfig
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