pub struct ModulesInfoEntry {
pub slot: ShipSlot,
pub item: ShipModule,
pub power: f32,
pub priority: Option<u8>,
}
Fields§
§slot: ShipSlot
§item: ShipModule
§power: f32
§priority: Option<u8>
Trait Implementations§
Source§impl Clone for ModulesInfoEntry
impl Clone for ModulesInfoEntry
Source§fn clone(&self) -> ModulesInfoEntry
fn clone(&self) -> ModulesInfoEntry
Returns a copy 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 moreSource§impl Debug for ModulesInfoEntry
impl Debug for ModulesInfoEntry
Source§impl<'de> Deserialize<'de> for ModulesInfoEntry
impl<'de> Deserialize<'de> for ModulesInfoEntry
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
Source§impl PartialEq for ModulesInfoEntry
impl PartialEq for ModulesInfoEntry
Source§impl Serialize for ModulesInfoEntry
impl Serialize for ModulesInfoEntry
impl StructuralPartialEq for ModulesInfoEntry
Auto Trait Implementations§
impl Freeze for ModulesInfoEntry
impl RefUnwindSafe for ModulesInfoEntry
impl Send for ModulesInfoEntry
impl Sync for ModulesInfoEntry
impl Unpin for ModulesInfoEntry
impl UnwindSafe for ModulesInfoEntry
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