Struct defclass

Source
#[repr(C)]
pub struct defclass {
Show 24 fields pub header: ConstructHeader, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub id: c_ushort, pub busy: c_uint, pub hashTableIndex: c_uint, pub directSuperclasses: PACKED_CLASS_LINKS, pub directSubclasses: PACKED_CLASS_LINKS, pub allSuperclasses: PACKED_CLASS_LINKS, pub slots: *mut SlotDescriptor, pub instanceTemplate: *mut *mut SlotDescriptor, pub slotNameMap: *mut c_uint, pub slotCount: c_ushort, pub localInstanceSlotCount: c_ushort, pub instanceSlotCount: c_ushort, pub maxSlotNameID: c_ushort, pub instanceList: *mut Instance, pub instanceListBottom: *mut Instance, pub handlers: *mut DefmessageHandler, pub handlerOrderMap: *mut c_uint, pub handlerCount: c_ushort, pub nxtHash: *mut Defclass, pub scopeMap: *mut CLIPSBitMap, pub relevant_terminal_alpha_nodes: *mut CLASS_ALPHA_LINK, pub traversalRecord: [c_char; 32],
}

Fields§

§header: ConstructHeader§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§id: c_ushort§busy: c_uint§hashTableIndex: c_uint§directSuperclasses: PACKED_CLASS_LINKS§directSubclasses: PACKED_CLASS_LINKS§allSuperclasses: PACKED_CLASS_LINKS§slots: *mut SlotDescriptor§instanceTemplate: *mut *mut SlotDescriptor§slotNameMap: *mut c_uint§slotCount: c_ushort§localInstanceSlotCount: c_ushort§instanceSlotCount: c_ushort§maxSlotNameID: c_ushort§instanceList: *mut Instance§instanceListBottom: *mut Instance§handlers: *mut DefmessageHandler§handlerOrderMap: *mut c_uint§handlerCount: c_ushort§nxtHash: *mut Defclass§scopeMap: *mut CLIPSBitMap§relevant_terminal_alpha_nodes: *mut CLASS_ALPHA_LINK§traversalRecord: [c_char; 32]

Implementations§

Source§

impl defclass

Source

pub fn installed(&self) -> c_uint

Source

pub fn set_installed(&mut self, val: c_uint)

Source

pub fn system(&self) -> c_uint

Source

pub fn set_system(&mut self, val: c_uint)

Source

pub fn abstract_(&self) -> c_uint

Source

pub fn set_abstract(&mut self, val: c_uint)

Source

pub fn reactive(&self) -> c_uint

Source

pub fn set_reactive(&mut self, val: c_uint)

Source

pub fn traceInstances(&self) -> c_uint

Source

pub fn set_traceInstances(&mut self, val: c_uint)

Source

pub fn traceSlots(&self) -> c_uint

Source

pub fn set_traceSlots(&mut self, val: c_uint)

Source

pub fn new_bitfield_1( installed: c_uint, system: c_uint, abstract_: c_uint, reactive: c_uint, traceInstances: c_uint, traceSlots: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Trait Implementations§

Source§

impl Clone for defclass

Source§

fn clone(&self) -> defclass

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for defclass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for defclass

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for defclass

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.