Struct ink_lang_ir::Config
source · [−]pub struct Config { /* private fields */ }
Expand description
The ink! configuration.
Implementations
sourceimpl Config
impl Config
sourcepub fn env(&self) -> Path
pub fn env(&self) -> Path
Returns the environmental types definition if specified. Otherwise returns the default environmental types definition provided by ink!.
sourcepub fn whitelisted_attributes(&self) -> &WhitelistedAttributes
pub fn whitelisted_attributes(&self) -> &WhitelistedAttributes
Return set of attributes that can be passed to call builder in the codegen.
Trait Implementations
impl Eq for Config
impl StructuralEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations
impl RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more