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]
.
Implementations
impl Bindings
[src]
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.