pub struct SubListChangeMoveConfig {
pub min_sublist_size: usize,
pub max_sublist_size: usize,
pub variable_name: Option<String>,
}Expand description
Configuration for SubListChangeMoveSelector (Or-opt).
Fields§
§min_sublist_size: usizeMinimum segment size (inclusive). Default: 1.
max_sublist_size: usizeMaximum segment size (inclusive). Default: 3.
variable_name: Option<String>Variable name filter. If None, applies to all list variables.
Trait Implementations§
Source§impl Clone for SubListChangeMoveConfig
impl Clone for SubListChangeMoveConfig
Source§fn clone(&self) -> SubListChangeMoveConfig
fn clone(&self) -> SubListChangeMoveConfig
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 SubListChangeMoveConfig
impl Debug for SubListChangeMoveConfig
Source§impl Default for SubListChangeMoveConfig
impl Default for SubListChangeMoveConfig
Source§impl<'de> Deserialize<'de> for SubListChangeMoveConfig
impl<'de> Deserialize<'de> for SubListChangeMoveConfig
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 SubListChangeMoveConfig
impl RefUnwindSafe for SubListChangeMoveConfig
impl Send for SubListChangeMoveConfig
impl Sync for SubListChangeMoveConfig
impl Unpin for SubListChangeMoveConfig
impl UnsafeUnpin for SubListChangeMoveConfig
impl UnwindSafe for SubListChangeMoveConfig
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