Struct clips_sys::deftemplate
source · #[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 Fact
Implementations
sourceimpl 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
sourceimpl Clone for deftemplate
impl Clone for deftemplate
sourcefn clone(&self) -> deftemplate
fn clone(&self) -> deftemplate
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 deftemplate
impl Debug for deftemplate
sourceimpl Default for deftemplate
impl Default for deftemplate
impl Copy for deftemplate
Auto Trait Implementations
impl RefUnwindSafe for deftemplate
impl !Send for deftemplate
impl !Sync for deftemplate
impl Unpin for deftemplate
impl UnwindSafe for deftemplate
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