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