pub enum SourceRef {
Ship,
Mode,
Character,
Item {
index: usize,
},
Charge {
index: usize,
},
Skill {
type_id: i32,
},
Projected {
index: usize,
},
Buff {
id: i32,
},
}Expand description
Item and Charge index into Fit::items, Projected into
Fit::incoming.effects. A skill and a buff are not in the result, so they
carry their own id.
Variants§
Ship
The ship.
Mode
The active mode of the ship.
Character
The character.
Item
An item of the fit.
Charge
The charge in an item of the fit.
Skill
A skill of the character.
Projected
An effect aimed at the fit.
Buff
A buff handed to the fit.
Trait Implementations§
impl Copy for SourceRef
impl StructuralPartialEq for SourceRef
Auto Trait Implementations§
impl Freeze for SourceRef
impl RefUnwindSafe for SourceRef
impl Send for SourceRef
impl Sync for SourceRef
impl Unpin for SourceRef
impl UnsafeUnpin for SourceRef
impl UnwindSafe for SourceRef
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