pub struct JournalCommanderEntry {
pub name: String,
pub log_state: LogState,
pub live_state: LiveState,
}
Fields§
§name: String
§log_state: LogState
§live_state: LiveState
Implementations§
Source§impl JournalCommanderEntry
impl JournalCommanderEntry
Sourcepub fn current_organic_distance(&self) -> Option<f32>
pub fn current_organic_distance(&self) -> Option<f32>
Returns the distance between the player and the previously scanned organic, returning the distance in meters for the scan that is closest to the player.
Sourcepub fn current_organic_passed_required_distance(&self) -> Option<bool>
pub fn current_organic_passed_required_distance(&self) -> Option<bool>
Returns true when the player is far enough from previous scans for the current organic. Returns None if the player has not scanned a species on the current planet.
Trait Implementations§
Source§impl Default for JournalCommanderEntry
impl Default for JournalCommanderEntry
Source§fn default() -> JournalCommanderEntry
fn default() -> JournalCommanderEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JournalCommanderEntry
impl RefUnwindSafe for JournalCommanderEntry
impl Send for JournalCommanderEntry
impl Sync for JournalCommanderEntry
impl Unpin for JournalCommanderEntry
impl UnwindSafe for JournalCommanderEntry
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