[−][src]Struct ink_lang_ir::Config
The ink! configuration.
Implementations
impl Config
[src]
pub fn env_types(&self) -> Path
[src]
Returns the environmental types definition if specified. Otherwise returns the default environmental types definition provided by ink!.
pub fn is_dynamic_storage_allocator_enabled(&self) -> bool
[src]
Returns true
if the dynamic storage allocator facilities are enabled
for the ink! smart contract, false
otherwise.
If nothing has been specified returns the default which is false
.
pub fn is_compile_as_dependency_enabled(&self) -> bool
[src]
Return true
if this ink! smart contract shall always be compiled as
if it was a dependency of another smart contract, returns false
otherwise.
If nothing has been specified returns the default which is false
.
Trait Implementations
impl Debug for Config
[src]
impl Default for Config
[src]
impl Eq for Config
[src]
impl PartialEq<Config> for Config
[src]
impl StructuralEq for Config
[src]
impl StructuralPartialEq for Config
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,