Type Alias PointKind

Source
pub type PointKind = PointKindDef<Point>;

Aliased Type§

pub struct PointKind {
    pub point: PointDef<RouteSeg, PointSeg>,
    pub kind: Kind,
}

Fields§

§point: PointDef<RouteSeg, PointSeg>§kind: Kind

Implementations§

Source§

impl PointKind

Source

pub fn new(point: Point, kind: Kind) -> Self

Trait Implementations§

Source§

impl FromStr for PointKind

Source§

type Err = SpaceErr

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl ToString for PointKind

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more