pub struct UseWorldCandidate {
pub id: String,
pub kind: UseWorldKind,
pub label: String,
pub x: f32,
pub y: f32,
pub distance_m: f32,
pub range_m: f32,
pub in_range: bool,
}Fields§
§id: String§kind: UseWorldKind§label: String§x: f32§y: f32§distance_m: f32§range_m: f32§in_range: boolTrue when within the range f would accept for this kind.
Implementations§
Trait Implementations§
Source§impl Clone for UseWorldCandidate
impl Clone for UseWorldCandidate
Source§fn clone(&self) -> UseWorldCandidate
fn clone(&self) -> UseWorldCandidate
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 UseWorldCandidate
impl Debug for UseWorldCandidate
Source§impl PartialEq for UseWorldCandidate
impl PartialEq for UseWorldCandidate
impl StructuralPartialEq for UseWorldCandidate
Auto Trait Implementations§
impl Freeze for UseWorldCandidate
impl RefUnwindSafe for UseWorldCandidate
impl Send for UseWorldCandidate
impl Sync for UseWorldCandidate
impl Unpin for UseWorldCandidate
impl UnsafeUnpin for UseWorldCandidate
impl UnwindSafe for UseWorldCandidate
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