pub enum Target {
Ship,
Item {
index: usize,
},
Charge {
index: usize,
},
}Expand description
What a Violation is about. Item and Charge index into Fit::items.
Variants§
Ship
The ship, for what it carries as a whole.
Item
An item of the fit.
Charge
The charge in an item of the fit.
Trait Implementations§
impl Copy for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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