Struct derive_builder_core::Bindings
[−]
[src]
pub struct Bindings { pub no_std: bool, }
Bindings to be used by the generated code.
Fields
no_std: bool
Whether the generated code should comply with #![no_std]
.
Methods
impl Bindings
[src]
impl Bindings
pub fn string_ty(&self) -> RawTokens<&'static str>
[src]
pub fn string_ty(&self) -> RawTokens<&'static str>
String type.
pub fn result_ty(&self) -> RawTokens<&'static str>
[src]
pub fn result_ty(&self) -> RawTokens<&'static str>
Result type.
pub fn option_ty(&self) -> RawTokens<&'static str>
[src]
pub fn option_ty(&self) -> RawTokens<&'static str>
Option type.
pub fn phantom_data_ty(&self) -> RawTokens<&'static str>
[src]
pub fn phantom_data_ty(&self) -> RawTokens<&'static str>
PhantomData type.
pub fn default_trait(&self) -> RawTokens<&'static str>
[src]
pub fn default_trait(&self) -> RawTokens<&'static str>
Default trait.
pub fn clone_trait(&self) -> RawTokens<&'static str>
[src]
pub fn clone_trait(&self) -> RawTokens<&'static str>
Clone trait.
pub fn into_trait(&self) -> RawTokens<&'static str>
[src]
pub fn into_trait(&self) -> RawTokens<&'static str>
Into trait.
pub fn try_into_trait(&self) -> RawTokens<&'static str>
[src]
pub fn try_into_trait(&self) -> RawTokens<&'static str>
TryInto trait.
Trait Implementations
impl Debug for Bindings
[src]
impl Debug for Bindings
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Bindings
[src]
impl Clone for Bindings
fn clone(&self) -> Bindings
[src]
fn clone(&self) -> Bindings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Bindings
[src]
impl Copy for Bindings
impl Default for Bindings
[src]
impl Default for Bindings