#[repr(C)]pub struct SLoadEvent {
pub file: *const c_char,
}
Expand description
This AI event is sent when the AI should be loading its full state from a file.
Fields§
§file: *const c_char
Absolute file path, should be treated read-only
Trait Implementations§
Source§impl Clone for SLoadEvent
impl Clone for SLoadEvent
Source§fn clone(&self) -> SLoadEvent
fn clone(&self) -> SLoadEvent
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 SLoadEvent
impl Debug for SLoadEvent
impl Copy for SLoadEvent
Auto Trait Implementations§
impl Freeze for SLoadEvent
impl RefUnwindSafe for SLoadEvent
impl !Send for SLoadEvent
impl !Sync for SLoadEvent
impl Unpin for SLoadEvent
impl UnwindSafe for SLoadEvent
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