pub enum CIndentationStyle {
Allman,
KAndR,
GNU,
Whitesmiths,
}
Expand description
Style of indentation used in generated C code
Variants§
Allman
Braces on their own lines, not indented
KAndR
Opening brace on same line as declaration, closing brace on own line, not intended
GNU
Braces on their own lines, intended by two spaces
Whitesmiths
Braces on their own lines, intended level with members
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 for CIndentationStyle
impl PartialEq 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 StructuralPartialEq for CIndentationStyle
Auto Trait Implementations§
impl Freeze for CIndentationStyle
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