pub struct StrangeLoopConfig {
pub max_meta_depth: usize,
pub enable_self_modification: bool,
pub max_modifications_per_cycle: usize,
pub safety_check_enabled: bool,
}Expand description
Configuration for strange loop
Fields§
§max_meta_depth: usize§enable_self_modification: bool§max_modifications_per_cycle: usize§safety_check_enabled: boolTrait Implementations§
Source§impl Clone for StrangeLoopConfig
impl Clone for StrangeLoopConfig
Source§fn clone(&self) -> StrangeLoopConfig
fn clone(&self) -> StrangeLoopConfig
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 StrangeLoopConfig
impl Debug for StrangeLoopConfig
Auto Trait Implementations§
impl Freeze for StrangeLoopConfig
impl RefUnwindSafe for StrangeLoopConfig
impl Send for StrangeLoopConfig
impl Sync for StrangeLoopConfig
impl Unpin for StrangeLoopConfig
impl UnwindSafe for StrangeLoopConfig
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