pub struct Header {
pub file_length: i32,
pub bbox: BBoxZ,
pub shape_type: ShapeType,
pub version: i32,
}Expand description
struct representing the Header of a shapefile can be retrieved via the reader used to read
Fields§
§file_length: i32Total file length (Header + Shapes) in 16bit word
bbox: BBoxZThe bbox contained all the shapes in this shapefile
For shapefiles where the shapes do not have m or z values
the associated min and max will be 0s.
shape_type: ShapeTypeType of all the shapes in the file (as mixing shapes is not allowed)
version: i32Version of the shapefile specification
Implementations§
Trait Implementations§
impl Copy for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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