pub enum RouteFrom {
CurrentPosition,
Base(String),
Address(GalacticAddress),
}Expand description
Where the route starts from.
Variants§
CurrentPosition
Use the player’s current position from the save file.
Base(String)
Use a named base’s position.
Address(GalacticAddress)
Use an explicit galactic address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteFrom
impl RefUnwindSafe for RouteFrom
impl Send for RouteFrom
impl Sync for RouteFrom
impl Unpin for RouteFrom
impl UnsafeUnpin for RouteFrom
impl UnwindSafe for RouteFrom
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