Enum cbindgen::Braces
[−]
[src]
pub enum Braces { SameLine, NextLine, }
A style of braces to use for generating code.
Variants
SameLine
NextLine
Trait Implementations
impl Debug for Braces
[src]
impl Clone for Braces
[src]
fn clone(&self) -> Braces
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Braces
[src]
fn eq(&self, __arg_0: &Braces) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl FromStr for Braces
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Braces, Self::Err>
[src]
Parses a string s
to return a value of this type. Read more
impl Deserialize for Braces
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer,
[src]
D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more