Struct clips_sys::templateSlot
source · #[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 templateSlot
Implementations
sourceimpl 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
sourceimpl Clone for templateSlot
impl Clone for templateSlot
sourcefn clone(&self) -> templateSlot
fn clone(&self) -> templateSlot
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for templateSlot
impl Debug for templateSlot
sourceimpl Default for templateSlot
impl Default for templateSlot
impl Copy for templateSlot
Auto Trait Implementations
impl RefUnwindSafe for templateSlot
impl !Send for templateSlot
impl !Sync for templateSlot
impl Unpin for templateSlot
impl UnwindSafe for templateSlot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more