Trait vectortile::geom_encoder::EncodableGeom [−][src]
pub trait EncodableGeom { fn encode_from(&self, startpos: &Point, seq: &mut CommandSequence); fn encode(&self) -> CommandSequence { ... } }
Required Methods
fn encode_from(&self, startpos: &Point, seq: &mut CommandSequence)
Provided Methods
fn encode(&self) -> CommandSequence
Implementors
impl EncodableGeom for Point
impl EncodableGeom for MultiPoint
impl EncodableGeom for LineString
impl EncodableGeom for MultiLineString
impl EncodableGeom for Polygon
impl EncodableGeom for MultiPolygon