#[repr(C)]pub struct templateSlot {
pub slotName: *mut CLIPSLexeme,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub constraints: *mut CONSTRAINT_RECORD,
pub defaultList: *mut Expression,
pub facetList: *mut Expression,
pub next: *mut templateSlot,
}Fields§
§slotName: *mut CLIPSLexeme§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§constraints: *mut CONSTRAINT_RECORD§defaultList: *mut Expression§facetList: *mut Expression§next: *mut templateSlotImplementations§
Source§impl templateSlot
impl templateSlot
pub fn multislot(&self) -> c_uint
pub fn set_multislot(&mut self, val: c_uint)
pub fn noDefault(&self) -> c_uint
pub fn set_noDefault(&mut self, val: c_uint)
pub fn defaultPresent(&self) -> c_uint
pub fn set_defaultPresent(&mut self, val: c_uint)
pub fn defaultDynamic(&self) -> c_uint
pub fn set_defaultDynamic(&mut self, val: c_uint)
pub fn new_bitfield_1( multislot: c_uint, noDefault: c_uint, defaultPresent: c_uint, defaultDynamic: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for templateSlot
impl Clone for templateSlot
Source§fn clone(&self) -> templateSlot
fn clone(&self) -> templateSlot
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 templateSlot
impl Debug for templateSlot
Source§impl Default for templateSlot
impl Default for templateSlot
impl Copy for templateSlot
Auto Trait Implementations§
impl Freeze for templateSlot
impl RefUnwindSafe for templateSlot
impl !Send for templateSlot
impl !Sync for templateSlot
impl Unpin for templateSlot
impl UnwindSafe for templateSlot
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