pub struct TradeNpcCandidate {
pub id: String,
pub label: String,
pub dist: f32,
}Expand description
One merchant row for the sell picker.
Fields§
§id: String§label: String§dist: f32Trait Implementations§
Source§impl Clone for TradeNpcCandidate
impl Clone for TradeNpcCandidate
Source§fn clone(&self) -> TradeNpcCandidate
fn clone(&self) -> TradeNpcCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TradeNpcCandidate
impl Debug for TradeNpcCandidate
Source§impl PartialEq for TradeNpcCandidate
impl PartialEq for TradeNpcCandidate
impl StructuralPartialEq for TradeNpcCandidate
Auto Trait Implementations§
impl Freeze for TradeNpcCandidate
impl RefUnwindSafe for TradeNpcCandidate
impl Send for TradeNpcCandidate
impl Sync for TradeNpcCandidate
impl Unpin for TradeNpcCandidate
impl UnsafeUnpin for TradeNpcCandidate
impl UnwindSafe for TradeNpcCandidate
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