pub struct CycleSpec {
pub steps: Vec<CycleStepSpec>,
pub hub: Option<CycleHubSpec>,
pub labels: CycleLabels,
}Expand description
A cycle: steps on a ring where the last step feeds the first, optionally with a hub in the middle that the steps feed.
Fields§
§steps: Vec<CycleStepSpec>The steps clockwise from twelve o’clock; 3 to 8.
hub: Option<CycleHubSpec>What the steps feed, drawn in the middle with a link from every step.
labels: CycleLabelsWhere the labels stand: outside the ring beside numbered dots, or inside boxes on it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CycleSpec
impl<'de> Deserialize<'de> for CycleSpec
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 CycleSpec
impl RefUnwindSafe for CycleSpec
impl Send for CycleSpec
impl Sync for CycleSpec
impl Unpin for CycleSpec
impl UnsafeUnpin for CycleSpec
impl UnwindSafe for CycleSpec
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