pub struct GeneConstraints {
pub max_files: usize,
pub forbidden_paths: Vec<String>,
}Expand description
Gene constraints - safety limits for evolution
Fields§
§max_files: usizeMaximum number of files that can be modified
forbidden_paths: Vec<String>Paths that are forbidden to modify
Implementations§
Trait Implementations§
Source§impl Clone for GeneConstraints
impl Clone for GeneConstraints
Source§fn clone(&self) -> GeneConstraints
fn clone(&self) -> GeneConstraints
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 GeneConstraints
impl Debug for GeneConstraints
Source§impl Default for GeneConstraints
impl Default for GeneConstraints
Source§fn default() -> GeneConstraints
fn default() -> GeneConstraints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeneConstraints
impl<'de> Deserialize<'de> for GeneConstraints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GeneConstraints
impl RefUnwindSafe for GeneConstraints
impl Send for GeneConstraints
impl Sync for GeneConstraints
impl Unpin for GeneConstraints
impl UnsafeUnpin for GeneConstraints
impl UnwindSafe for GeneConstraints
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