pub struct NearbyListSwapMoveConfig {
pub max_nearby: usize,
pub variable_name: Option<String>,
}Expand description
Configuration for NearbyListSwapMoveSelector.
Fields§
§max_nearby: usizeMaximum nearby swap partners to consider per source element.
variable_name: Option<String>Variable name filter. If None, applies to all list variables.
Trait Implementations§
Source§impl Clone for NearbyListSwapMoveConfig
impl Clone for NearbyListSwapMoveConfig
Source§fn clone(&self) -> NearbyListSwapMoveConfig
fn clone(&self) -> NearbyListSwapMoveConfig
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 NearbyListSwapMoveConfig
impl Debug for NearbyListSwapMoveConfig
Source§impl Default for NearbyListSwapMoveConfig
impl Default for NearbyListSwapMoveConfig
Source§impl<'de> Deserialize<'de> for NearbyListSwapMoveConfig
impl<'de> Deserialize<'de> for NearbyListSwapMoveConfig
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 NearbyListSwapMoveConfig
impl RefUnwindSafe for NearbyListSwapMoveConfig
impl Send for NearbyListSwapMoveConfig
impl Sync for NearbyListSwapMoveConfig
impl Unpin for NearbyListSwapMoveConfig
impl UnsafeUnpin for NearbyListSwapMoveConfig
impl UnwindSafe for NearbyListSwapMoveConfig
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