#[repr(C)]pub struct dsFunctions_C {
pub version: i32,
pub start: Option<unsafe extern "C" fn()>,
pub step: Option<unsafe extern "C" fn(i32)>,
pub command: Option<unsafe extern "C" fn(i32)>,
pub stop: Option<unsafe extern "C" fn()>,
pub path_to_textures: *const i8,
}
Expand description
dsFunctions_C (for compatibililty)
Fields§
§version: i32
version
start: Option<unsafe extern "C" fn()>
start
step: Option<unsafe extern "C" fn(i32)>
step
command: Option<unsafe extern "C" fn(i32)>
command
stop: Option<unsafe extern "C" fn()>
stop
path_to_textures: *const i8
path to texture
Trait Implementations§
Source§impl Clone for dsFunctions_C
impl Clone for dsFunctions_C
Source§fn clone(&self) -> dsFunctions_C
fn clone(&self) -> dsFunctions_C
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 Debug for dsFunctions_C
impl Debug for dsFunctions_C
impl Copy for dsFunctions_C
Auto Trait Implementations§
impl Freeze for dsFunctions_C
impl RefUnwindSafe for dsFunctions_C
impl !Send for dsFunctions_C
impl !Sync for dsFunctions_C
impl Unpin for dsFunctions_C
impl UnwindSafe for dsFunctions_C
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