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]
fn string_ty(&self) -> RawTokens<&'static str>
String type.
fn result_ty(&self) -> RawTokens<&'static str>
Result type.
fn option_ty(&self) -> RawTokens<&'static str>
Option type.
fn phantom_data_ty(&self) -> RawTokens<&'static str>
PhantomData type.
fn default_trait(&self) -> RawTokens<&'static str>
Default trait.
fn clone_trait(&self) -> RawTokens<&'static str>
Clone trait.
fn into_trait(&self) -> RawTokens<&'static str>
Into trait.
fn try_into_trait(&self) -> RawTokens<&'static str>
TryInto trait.
Trait Implementations
impl Debug for Bindings
[src]
impl Clone for Bindings
[src]
fn clone(&self) -> Bindings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more