pub struct ContractVariantProfile {
pub codegen_units: u8,
pub opt_level: String,
pub lto: bool,
pub debug: bool,
pub panic: String,
pub overflow_checks: bool,
}
Fields§
§codegen_units: u8
§opt_level: String
§lto: bool
§debug: bool
§panic: String
§overflow_checks: bool
Implementations§
Source§impl ContractVariantProfile
impl ContractVariantProfile
pub fn from_serde( opt_serde_profile: &Option<ContractVariantProfileSerde>, ) -> Self
Trait Implementations§
Source§impl Clone for ContractVariantProfile
impl Clone for ContractVariantProfile
Source§fn clone(&self) -> ContractVariantProfile
fn clone(&self) -> ContractVariantProfile
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContractVariantProfile
impl Debug for ContractVariantProfile
Source§impl Default for ContractVariantProfile
impl Default for ContractVariantProfile
Source§fn default() -> ContractVariantProfile
fn default() -> ContractVariantProfile
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContractVariantProfile
impl PartialEq for ContractVariantProfile
impl Eq for ContractVariantProfile
impl StructuralPartialEq for ContractVariantProfile
Auto Trait Implementations§
impl Freeze for ContractVariantProfile
impl RefUnwindSafe for ContractVariantProfile
impl Send for ContractVariantProfile
impl Sync for ContractVariantProfile
impl Unpin for ContractVariantProfile
impl UnwindSafe for ContractVariantProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.