#[repr(C)]pub struct gaiaShapefileStruct {Show 26 fields
pub endian_arch: c_int,
pub Valid: c_int,
pub ReadOnly: c_int,
pub Path: *mut c_char,
pub flShx: *mut FILE,
pub flShp: *mut FILE,
pub flDbf: *mut FILE,
pub Shape: c_int,
pub Dbf: gaiaDbfListPtr,
pub BufDbf: *mut c_uchar,
pub DbfHdsz: c_int,
pub DbfReclen: c_int,
pub DbfSize: c_int,
pub DbfRecno: c_int,
pub BufShp: *mut c_uchar,
pub ShpBfsz: c_int,
pub ShpSize: c_int,
pub ShxSize: c_int,
pub MinX: f64,
pub MinY: f64,
pub MaxX: f64,
pub MaxY: f64,
pub IconvObj: *mut c_void,
pub LastError: *mut c_char,
pub EffectiveType: c_int,
pub EffectiveDims: c_int,
}Expand description
Container for SHP file handling
Fields§
§endian_arch: c_intSHP endian arch
Valid: c_intvalidity flag: 1 = ready to be processed
ReadOnly: c_intread or write mode
Path: *mut c_charSHP ‘abstract’ path (no suffixes)
flShx: *mut FILEFILE handle to SHX file
flShp: *mut FILEFILE handle to SHP file
flDbf: *mut FILEFILE handle to DBF file
Shape: c_intthe SHP shape code
Dbf: gaiaDbfListPtrlist of DBF fields
BufDbf: *mut c_ucharDBF I/O buffer
DbfHdsz: c_intDBF header size (in bytes)
DbfReclen: c_intDBF record length (in bytes)
DbfSize: c_intDBF current file size (in bytes)
DbfRecno: c_intDBF current Record Number
BufShp: *mut c_ucharSHP I/O buffer
ShpBfsz: c_intSHP current buffer size (in bytes)
ShpSize: c_intSHP current file size
ShxSize: c_intSHX current file size
MinX: f64Total Extent: min X
MinY: f64Total Extent: min Y
MaxX: f64Total Extent: max X
MaxY: f64Total Extent: max Y
IconvObj: *mut c_voidhandle to ICONV converter object
LastError: *mut c_charlast error message (may be NULL)
EffectiveType: c_intSHP actual OGC Geometry type
EffectiveDims: c_intSHP actual dims: one of GAIA_XY, GAIA_XY_Z, GAIA_XY_M, GAIA_XY_ZM
Trait Implementations§
Source§impl Clone for gaiaShapefileStruct
impl Clone for gaiaShapefileStruct
Source§fn clone(&self) -> gaiaShapefileStruct
fn clone(&self) -> gaiaShapefileStruct
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for gaiaShapefileStruct
impl Debug for gaiaShapefileStruct
impl Copy for gaiaShapefileStruct
Auto Trait Implementations§
impl Freeze for gaiaShapefileStruct
impl RefUnwindSafe for gaiaShapefileStruct
impl !Send for gaiaShapefileStruct
impl !Sync for gaiaShapefileStruct
impl Unpin for gaiaShapefileStruct
impl UnwindSafe for gaiaShapefileStruct
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