#[repr(C)]pub struct SemanticProgramRule {
pub head_predicate: u32,
pub left_predicate: u32,
pub right_predicate: u32,
pub body_count: u32,
pub head_variables: [u32; 2],
pub left_variables: [u32; 2],
pub right_variables: [u32; 2],
}Expand description
One range-restricted positive rule with one or two binary body atoms. Equal variable indices encode repeated-variable equalities.
Fields§
§head_predicate: u32§left_predicate: u32§right_predicate: u32§body_count: u32§head_variables: [u32; 2]§left_variables: [u32; 2]§right_variables: [u32; 2]Trait Implementations§
Source§impl Clone for SemanticProgramRule
impl Clone for SemanticProgramRule
Source§fn clone(&self) -> SemanticProgramRule
fn clone(&self) -> SemanticProgramRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticProgramRule
Source§impl Debug for SemanticProgramRule
impl Debug for SemanticProgramRule
impl DeviceRepr for SemanticProgramRule
impl Eq for SemanticProgramRule
Source§impl PartialEq for SemanticProgramRule
impl PartialEq for SemanticProgramRule
impl StructuralPartialEq for SemanticProgramRule
Auto Trait Implementations§
impl Freeze for SemanticProgramRule
impl RefUnwindSafe for SemanticProgramRule
impl Send for SemanticProgramRule
impl Sync for SemanticProgramRule
impl Unpin for SemanticProgramRule
impl UnsafeUnpin for SemanticProgramRule
impl UnwindSafe for SemanticProgramRule
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more