#[repr(C)]pub struct entityRecord {Show 14 fields
pub name: *const c_char,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>,
pub shortPrintFunction: EntityPrintFunction,
pub longPrintFunction: EntityPrintFunction,
pub deleteFunction: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut Environment) -> bool>,
pub evaluateFunction: EntityEvaluationFunction,
pub getNextFunction: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void) -> *mut c_void>,
pub decrementBusyCount: EntityBusyCountFunction,
pub incrementBusyCount: EntityBusyCountFunction,
pub propagateDepth: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>,
pub markNeeded: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>,
pub install: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>,
pub deinstall: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>,
pub usrData: *mut userData,
}Fields§
§name: *const c_char§_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>§shortPrintFunction: EntityPrintFunction§longPrintFunction: EntityPrintFunction§deleteFunction: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut Environment) -> bool>§evaluateFunction: EntityEvaluationFunction§getNextFunction: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void) -> *mut c_void>§decrementBusyCount: EntityBusyCountFunction§incrementBusyCount: EntityBusyCountFunction§propagateDepth: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>§markNeeded: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>§install: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>§deinstall: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void)>§usrData: *mut userDataImplementations§
Source§impl entityRecord
impl entityRecord
pub fn type_(&self) -> c_uint
pub fn set_type(&mut self, val: c_uint)
pub fn copyToEvaluate(&self) -> c_uint
pub fn set_copyToEvaluate(&mut self, val: c_uint)
pub fn bitMap(&self) -> c_uint
pub fn set_bitMap(&mut self, val: c_uint)
pub fn addsToRuleComplexity(&self) -> c_uint
pub fn set_addsToRuleComplexity(&mut self, val: c_uint)
pub fn new_bitfield_1( type_: c_uint, copyToEvaluate: c_uint, bitMap: c_uint, addsToRuleComplexity: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2], u16>
Trait Implementations§
Source§impl Clone for entityRecord
impl Clone for entityRecord
Source§fn clone(&self) -> entityRecord
fn clone(&self) -> entityRecord
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 entityRecord
impl Debug for entityRecord
Source§impl Default for entityRecord
impl Default for entityRecord
impl Copy for entityRecord
Auto Trait Implementations§
impl Freeze for entityRecord
impl RefUnwindSafe for entityRecord
impl !Send for entityRecord
impl !Sync for entityRecord
impl Unpin for entityRecord
impl UnwindSafe for entityRecord
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