[][src]Trait shapefile::record::WritableShape

pub trait WritableShape {
    fn size_in_bytes(&self) -> usize;
fn write_to<T: Write>(self, dest: &mut T) -> Result<(), Error>; }

Trait implemented by all Shapes that can be written

Required methods

fn size_in_bytes(&self) -> usize

Returns the size in bytes that the Shapes will take once written. Does not include the shapetype

fn write_to<T: Write>(self, dest: &mut T) -> Result<(), Error>

Writes the shape to the dest

Loading content...

Implementors

impl WritableShape for Multipatch
[src]

impl WritableShape for Point
[src]

impl WritableShape for PointM
[src]

impl WritableShape for PointZ
[src]

impl WritableShape for Multipoint
[src]

impl WritableShape for MultipointM
[src]

impl WritableShape for MultipointZ
[src]

impl WritableShape for Polygon
[src]

impl WritableShape for PolygonM
[src]

impl WritableShape for PolygonZ
[src]

impl WritableShape for Polyline
[src]

impl WritableShape for PolylineM
[src]

impl WritableShape for PolylineZ
[src]

Loading content...