Struct rust_sc2::bot::PlacementOptions [−][src]
pub struct PlacementOptions {
pub max_distance: isize,
pub step: isize,
pub random: bool,
pub addon: bool,
}Additional options for find_placement.
Fields
max_distance: isizeMaximum distance of checked points from given position. [Default: 15]
step: isizeStep between each checked position. [Default: 2]
random: boolReturn random found point if true, or closest to given position. [Default: false]
addon: boolFilter positions where addon can fit. [Default: false]
Trait Implementations
impl Clone for PlacementOptions[src]
impl Clone for PlacementOptions[src]fn clone(&self) -> PlacementOptions[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PlacementOptions[src]
impl Copy for PlacementOptions[src]impl Default for PlacementOptions[src]
impl Default for PlacementOptions[src]Auto Trait Implementations
impl RefUnwindSafe for PlacementOptions
impl RefUnwindSafe for PlacementOptionsimpl Send for PlacementOptions
impl Send for PlacementOptionsimpl Sync for PlacementOptions
impl Sync for PlacementOptionsimpl Unpin for PlacementOptions
impl Unpin for PlacementOptionsimpl UnwindSafe for PlacementOptions
impl UnwindSafe for PlacementOptions