#[repr(C)]pub struct ShapeC {
pub vtable_: *const ShapeC__bindgen_vtable,
pub valid: bool,
pub fname: *mut i8,
pub encode: *mut i8,
pub hSHP: *mut c_void,
pub hDBF: *mut c_void,
pub c: i32,
}Expand description
no more use (only for test)
Fields§
§vtable_: *const ShapeC__bindgen_vtable§valid: bool§fname: *mut i8§encode: *mut i8§hSHP: *mut c_void§hDBF: *mut c_void§c: i32Implementations§
Source§impl ShapeC
impl ShapeC
pub unsafe fn is_valid(&mut self) -> bool
pub unsafe fn dispose(&mut self)
pub unsafe fn disp_record_inf(&mut self)
pub unsafe fn alloc_gci(&mut self) -> *mut c_void
pub unsafe fn free_gci(&mut self, p_gci: *mut c_void)
pub unsafe fn get_shape(&mut self, p_gci: *mut c_void)
pub unsafe fn from(a: i32, b: i32) -> ShapeC
pub unsafe fn to_int(&mut self) -> i32
pub unsafe fn new(fn_: *const i8, enc: *const i8) -> ShapeC
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShapeC
impl RefUnwindSafe for ShapeC
impl !Send for ShapeC
impl !Sync for ShapeC
impl Unpin for ShapeC
impl UnsafeUnpin for ShapeC
impl UnwindSafe for ShapeC
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