pub enum TargetSelection {
Biome(BiomeFilter),
Named(Vec<String>),
SystemIds(Vec<SystemId>),
}Expand description
How route targets are specified.
Variants§
Biome(BiomeFilter)
Find planets matching a biome filter, use their systems as targets.
Named(Vec<String>)
Named bases or systems (looked up case-insensitively).
SystemIds(Vec<SystemId>)
Explicit system IDs.
Trait Implementations§
Source§impl Clone for TargetSelection
impl Clone for TargetSelection
Source§fn clone(&self) -> TargetSelection
fn clone(&self) -> TargetSelection
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 moreAuto Trait Implementations§
impl Freeze for TargetSelection
impl RefUnwindSafe for TargetSelection
impl Send for TargetSelection
impl Sync for TargetSelection
impl Unpin for TargetSelection
impl UnsafeUnpin for TargetSelection
impl UnwindSafe for TargetSelection
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