pub struct JumpGate {
pub jump_range: f32,
pub faction_symbol: Option<String>,
pub connected_systems: Vec<ConnectedSystem>,
}Expand description
Fields§
§jump_range: f32The maximum jump range of the gate.
faction_symbol: Option<String>The symbol of the faction that owns the gate.
connected_systems: Vec<ConnectedSystem>The systems within range of the gate that have a corresponding gate.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JumpGate
impl<'de> Deserialize<'de> for JumpGate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for JumpGate
Auto Trait Implementations§
impl Freeze for JumpGate
impl RefUnwindSafe for JumpGate
impl Send for JumpGate
impl Sync for JumpGate
impl Unpin for JumpGate
impl UnwindSafe for JumpGate
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