pub struct Colony {
pub links: Vec<ColonyLink>,
pub pins: Vec<ColonyPin>,
pub routes: Vec<ColonyRoute>,
}Expand description
The layout of a colony.
Fields§
§links: Vec<ColonyLink>Links between pins.
pins: Vec<ColonyPin>Pins of the colony.
routes: Vec<ColonyRoute>Routes of the colony.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Colony
impl<'de> Deserialize<'de> for Colony
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
impl StructuralPartialEq for Colony
Auto Trait Implementations§
impl Freeze for Colony
impl RefUnwindSafe for Colony
impl Send for Colony
impl Sync for Colony
impl Unpin for Colony
impl UnsafeUnpin for Colony
impl UnwindSafe for Colony
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