pub struct CoreConfig {
pub halt: bool,
pub complexity_lim: Option<u64>,
}
Expand description
Configuration for Core
initialization.
Fields§
§halt: bool
Initial value for the CH
register.
complexity_lim: Option<u64>
Initial value for the CL
register.
Trait Implementations§
Source§impl Clone for CoreConfig
impl Clone for CoreConfig
Source§fn clone(&self) -> CoreConfig
fn clone(&self) -> CoreConfig
Returns a duplicate 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 CoreConfig
impl Debug for CoreConfig
Source§impl Default for CoreConfig
impl Default for CoreConfig
Source§fn default() -> CoreConfig
fn default() -> CoreConfig
Source§impl<'de> Deserialize<'de> for CoreConfig
impl<'de> Deserialize<'de> for CoreConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoreConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoreConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CoreConfig
impl Hash for CoreConfig
Source§impl Ord for CoreConfig
impl Ord for CoreConfig
Source§fn cmp(&self, other: &CoreConfig) -> Ordering
fn cmp(&self, other: &CoreConfig) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CoreConfig
impl PartialEq for CoreConfig
Source§impl PartialOrd for CoreConfig
impl PartialOrd for CoreConfig
Source§impl Serialize for CoreConfig
impl Serialize for CoreConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl StrictDecode for CoreConfig
impl StrictDecode for CoreConfig
fn strict_decode(reader: &mut impl TypedRead) -> Result<CoreConfig, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictEncode for CoreConfig
impl StrictEncode for CoreConfig
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for CoreConfig
impl StrictStruct for CoreConfig
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for CoreConfig
impl StrictType for CoreConfig
const STRICT_LIB_NAME: &'static str = LIB_NAME_ALUVM
fn strict_name() -> Option<TypeName>
impl Copy for CoreConfig
impl Eq for CoreConfig
impl StrictProduct for CoreConfig
impl StructuralPartialEq for CoreConfig
Auto Trait Implementations§
impl Freeze for CoreConfig
impl RefUnwindSafe for CoreConfig
impl Send for CoreConfig
impl Sync for CoreConfig
impl Unpin for CoreConfig
impl UnwindSafe for CoreConfig
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.