#[repr(C)]pub struct defrule {
pub header: ConstructHeader,
pub salience: c_int,
pub localVarCnt: c_ushort,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>,
pub dynamicSalience: *mut expr,
pub actions: *mut expr,
pub logicalJoin: *mut joinNode,
pub lastJoin: *mut joinNode,
pub disjunct: *mut Defrule,
}
Fields
header: ConstructHeader
salience: c_int
localVarCnt: c_ushort
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>
dynamicSalience: *mut expr
actions: *mut expr
logicalJoin: *mut joinNode
lastJoin: *mut joinNode
disjunct: *mut Defrule
Implementations
sourceimpl defrule
impl defrule
pub fn complexity(&self) -> c_uint
pub fn set_complexity(&mut self, val: c_uint)
pub fn afterBreakpoint(&self) -> c_uint
pub fn set_afterBreakpoint(&mut self, val: c_uint)
pub fn watchActivation(&self) -> c_uint
pub fn set_watchActivation(&mut self, val: c_uint)
pub fn watchFiring(&self) -> c_uint
pub fn set_watchFiring(&mut self, val: c_uint)
pub fn autoFocus(&self) -> c_uint
pub fn set_autoFocus(&mut self, val: c_uint)
pub fn executing(&self) -> c_uint
pub fn set_executing(&mut self, val: c_uint)
pub fn new_bitfield_1(
complexity: c_uint,
afterBreakpoint: c_uint,
watchActivation: c_uint,
watchFiring: c_uint,
autoFocus: c_uint,
executing: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u16>
Trait Implementations
impl Copy for defrule
Auto Trait Implementations
impl RefUnwindSafe for defrule
impl !Send for defrule
impl !Sync for defrule
impl Unpin for defrule
impl UnwindSafe for defrule
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