#[repr(C)]pub struct deftemplate {
pub header: ConstructHeader,
pub slotList: *mut templateSlot,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub numberOfSlots: c_ushort,
pub busyCount: c_long,
pub patternNetwork: *mut factPatternNode,
pub factList: *mut Fact,
pub lastFact: *mut Fact,
}Fields§
§header: ConstructHeader§slotList: *mut templateSlot§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§numberOfSlots: c_ushort§busyCount: c_long§patternNetwork: *mut factPatternNode§factList: *mut Fact§lastFact: *mut FactImplementations§
Source§impl deftemplate
impl deftemplate
pub fn implied(&self) -> c_uint
pub fn set_implied(&mut self, val: c_uint)
pub fn watch(&self) -> c_uint
pub fn set_watch(&mut self, val: c_uint)
pub fn inScope(&self) -> c_uint
pub fn set_inScope(&mut self, val: c_uint)
pub fn new_bitfield_1( implied: c_uint, watch: c_uint, inScope: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for deftemplate
impl Clone for deftemplate
Source§fn clone(&self) -> deftemplate
fn clone(&self) -> deftemplate
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 deftemplate
impl Debug for deftemplate
Source§impl Default for deftemplate
impl Default for deftemplate
impl Copy for deftemplate
Auto Trait Implementations§
impl Freeze for deftemplate
impl RefUnwindSafe for deftemplate
impl !Send for deftemplate
impl !Sync for deftemplate
impl Unpin for deftemplate
impl UnwindSafe for deftemplate
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