pub struct FindResult {
pub planet: Planet,
pub system: System,
pub distance_ly: f64,
pub portal_hex: String,
}Expand description
A single result from a find query.
Fields§
§planet: PlanetThe matching planet.
system: SystemThe system containing the planet.
distance_ly: f64Distance from the reference point in light-years.
portal_hex: StringPortal glyphs as hex (12 digits). Caller renders as emoji.
Trait Implementations§
Source§impl Clone for FindResult
impl Clone for FindResult
Source§fn clone(&self) -> FindResult
fn clone(&self) -> FindResult
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 FindResult
impl RefUnwindSafe for FindResult
impl Send for FindResult
impl Sync for FindResult
impl Unpin for FindResult
impl UnsafeUnpin for FindResult
impl UnwindSafe for FindResult
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