[][src]Struct derive_builder_core::Bindings

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]

pub fn string_ty(&self) -> Path[src]

String type.

pub fn result_ty(&self) -> Path[src]

Result type.

pub fn option_ty(&self) -> Path[src]

Option type.

pub fn phantom_data_ty(&self) -> Path[src]

PhantomData type.

pub fn default_trait(&self) -> Path[src]

Default trait.

pub fn clone_trait(&self) -> Path[src]

Clone trait.

pub fn into_trait(&self) -> Path[src]

Into trait.

pub fn try_into_trait(&self) -> Path[src]

TryInto trait.

Trait Implementations

impl Copy for Bindings[src]

impl Clone for Bindings[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Bindings[src]

impl Debug for Bindings[src]

Auto Trait Implementations

impl Send for Bindings

impl Sync for Bindings

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]