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) -> Path
[src]
pub fn string_ty(&self) -> Path
String type.
pub fn result_ty(&self) -> Path
[src]
pub fn result_ty(&self) -> Path
Result type.
pub fn option_ty(&self) -> Path
[src]
pub fn option_ty(&self) -> Path
Option type.
pub fn phantom_data_ty(&self) -> Path
[src]
pub fn phantom_data_ty(&self) -> Path
PhantomData type.
pub fn default_trait(&self) -> Path
[src]
pub fn default_trait(&self) -> Path
Default trait.
pub fn clone_trait(&self) -> Path
[src]
pub fn clone_trait(&self) -> Path
Clone trait.
pub fn into_trait(&self) -> Path
[src]
pub fn into_trait(&self) -> Path
Into trait.
pub fn try_into_trait(&self) -> Path
[src]
pub fn try_into_trait(&self) -> Path
TryInto trait.
Trait Implementations
impl Debug for Bindings
[src]
impl Debug for Bindings
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &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