#[repr(C)]pub struct Shape3dApi {
pub circle: Option<unsafe extern "C" fn(w: *mut Vec3T, c: Vec3T, n: Vec3T, r: f32, num: u32)>,
pub arc: Option<unsafe extern "C" fn(w: *mut Vec3T, c: Vec3T, n: Vec3T, r: f32, x: Vec3T, start_angle: f32, stop_angle: f32, num: u32)>,
pub box_: Option<unsafe extern "C" fn(w: *mut Vec3T, c: Vec3T, x: Vec3T, y: Vec3T, z: Vec3T)>,
pub box_ib_n: u32,
pub _padding_25: [c_char; 4],
pub box_ib: *mut u32,
}
Fields§
§circle: Option<unsafe extern "C" fn(w: *mut Vec3T, c: Vec3T, n: Vec3T, r: f32, num: u32)>
§arc: Option<unsafe extern "C" fn(w: *mut Vec3T, c: Vec3T, n: Vec3T, r: f32, x: Vec3T, start_angle: f32, stop_angle: f32, num: u32)>
§box_: Option<unsafe extern "C" fn(w: *mut Vec3T, c: Vec3T, x: Vec3T, y: Vec3T, z: Vec3T)>
§box_ib_n: u32
§_padding_25: [c_char; 4]
§box_ib: *mut u32
Implementations§
Source§impl Shape3dApi
impl Shape3dApi
pub unsafe fn circle(&self, w: *mut Vec3T, c: Vec3T, n: Vec3T, r: f32, num: u32)
pub unsafe fn arc( &self, w: *mut Vec3T, c: Vec3T, n: Vec3T, r: f32, x: Vec3T, start_angle: f32, stop_angle: f32, num: u32, )
pub unsafe fn box_(&self, w: *mut Vec3T, c: Vec3T, x: Vec3T, y: Vec3T, z: Vec3T)
Trait Implementations§
Source§impl Clone for Shape3dApi
impl Clone for Shape3dApi
Source§fn clone(&self) -> Shape3dApi
fn clone(&self) -> Shape3dApi
Returns a duplicate 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 Default for Shape3dApi
impl Default for Shape3dApi
impl Copy for Shape3dApi
Auto Trait Implementations§
impl Freeze for Shape3dApi
impl RefUnwindSafe for Shape3dApi
impl !Send for Shape3dApi
impl !Sync for Shape3dApi
impl Unpin for Shape3dApi
impl UnwindSafe for Shape3dApi
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