pub struct LocatedNodeCommon {
pub i: ID,
pub source: Vec<String>,
pub world: Option<Sourced<World>>,
pub coordinates: Option<Sourced<(f64, f64)>>,
pub proximity: HashMap<ID, Sourced<Proximity>>,
pub shared_facility: Vec<Sourced<ID>>,
}
Fields§
§i: ID
§source: Vec<String>
§world: Option<Sourced<World>>
§coordinates: Option<Sourced<(f64, f64)>>
§proximity: HashMap<ID, Sourced<Proximity>>
Trait Implementations§
Source§impl Clone for LocatedNodeCommon
impl Clone for LocatedNodeCommon
Source§fn clone(&self) -> LocatedNodeCommon
fn clone(&self) -> LocatedNodeCommon
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 LocatedNodeCommon
impl Debug for LocatedNodeCommon
Source§impl<'de> Deserialize<'de> for LocatedNodeCommon
impl<'de> Deserialize<'de> for LocatedNodeCommon
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
Auto Trait Implementations§
impl Freeze for LocatedNodeCommon
impl RefUnwindSafe for LocatedNodeCommon
impl Send for LocatedNodeCommon
impl Sync for LocatedNodeCommon
impl Unpin for LocatedNodeCommon
impl UnwindSafe for LocatedNodeCommon
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