Struct constraintRecord

Source
#[repr(C)]
pub struct constraintRecord { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3], u8>, pub bsaveID: c_ulong, pub classList: *mut expr, pub restrictionList: *mut expr, pub minValue: *mut expr, pub maxValue: *mut expr, pub minFields: *mut expr, pub maxFields: *mut expr, pub multifield: *mut constraintRecord, pub next: *mut constraintRecord, pub bucket: c_uint, pub count: c_uint, }

Fields§

§_bitfield_1: __BindgenBitfieldUnit<[u8; 3], u8>§bsaveID: c_ulong§classList: *mut expr§restrictionList: *mut expr§minValue: *mut expr§maxValue: *mut expr§minFields: *mut expr§maxFields: *mut expr§multifield: *mut constraintRecord§next: *mut constraintRecord§bucket: c_uint§count: c_uint

Implementations§

Source§

impl constraintRecord

Source

pub fn anyAllowed(&self) -> c_uint

Source

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

Source

pub fn symbolsAllowed(&self) -> c_uint

Source

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

Source

pub fn stringsAllowed(&self) -> c_uint

Source

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

Source

pub fn floatsAllowed(&self) -> c_uint

Source

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

Source

pub fn integersAllowed(&self) -> c_uint

Source

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

Source

pub fn instanceNamesAllowed(&self) -> c_uint

Source

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

Source

pub fn instanceAddressesAllowed(&self) -> c_uint

Source

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

Source

pub fn externalAddressesAllowed(&self) -> c_uint

Source

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

Source

pub fn factAddressesAllowed(&self) -> c_uint

Source

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

Source

pub fn voidAllowed(&self) -> c_uint

Source

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

Source

pub fn anyRestriction(&self) -> c_uint

Source

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

Source

pub fn symbolRestriction(&self) -> c_uint

Source

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

Source

pub fn stringRestriction(&self) -> c_uint

Source

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

Source

pub fn floatRestriction(&self) -> c_uint

Source

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

Source

pub fn integerRestriction(&self) -> c_uint

Source

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

Source

pub fn classRestriction(&self) -> c_uint

Source

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

Source

pub fn instanceNameRestriction(&self) -> c_uint

Source

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

Source

pub fn multifieldsAllowed(&self) -> c_uint

Source

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

Source

pub fn singlefieldsAllowed(&self) -> c_uint

Source

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

Source

pub fn installed(&self) -> c_uint

Source

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

Source

pub fn new_bitfield_1( anyAllowed: c_uint, symbolsAllowed: c_uint, stringsAllowed: c_uint, floatsAllowed: c_uint, integersAllowed: c_uint, instanceNamesAllowed: c_uint, instanceAddressesAllowed: c_uint, externalAddressesAllowed: c_uint, factAddressesAllowed: c_uint, voidAllowed: c_uint, anyRestriction: c_uint, symbolRestriction: c_uint, stringRestriction: c_uint, floatRestriction: c_uint, integerRestriction: c_uint, classRestriction: c_uint, instanceNameRestriction: c_uint, multifieldsAllowed: c_uint, singlefieldsAllowed: c_uint, installed: c_uint, ) -> __BindgenBitfieldUnit<[u8; 3], u8>

Trait Implementations§

Source§

impl Clone for constraintRecord

Source§

fn clone(&self) -> constraintRecord

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 constraintRecord

Source§

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

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

impl Default for constraintRecord

Source§

fn default() -> Self

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

impl Copy for constraintRecord

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.