pub enum CIndentationStyle {
Allman,
KAndR,
GNU,
Whitesmiths,
}
Expand description
Style of indentation used in generated C code
Variants§
Trait Implementations§
source§impl Clone for CIndentationStyle
impl Clone for CIndentationStyle
source§fn clone(&self) -> CIndentationStyle
fn clone(&self) -> CIndentationStyle
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 CIndentationStyle
impl Debug for CIndentationStyle
source§impl PartialEq<CIndentationStyle> for CIndentationStyle
impl PartialEq<CIndentationStyle> for CIndentationStyle
source§fn eq(&self, other: &CIndentationStyle) -> bool
fn eq(&self, other: &CIndentationStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CIndentationStyle
impl StructuralEq for CIndentationStyle
impl StructuralPartialEq for CIndentationStyle
Auto Trait Implementations§
impl RefUnwindSafe for CIndentationStyle
impl Send for CIndentationStyle
impl Sync for CIndentationStyle
impl Unpin for CIndentationStyle
impl UnwindSafe for CIndentationStyle
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