#[repr(u8)]pub enum XgcfNodeType {
Const0 = 0,
Const1 = 1,
Lit = 2,
And = 3,
Or = 4,
Decision = 5,
}Expand description
Node opcode in the structure-of-arrays XLOG GPU Circuit Format.
Variants§
Const0 = 0
Boolean false constant.
Const1 = 1
Boolean true constant.
Lit = 2
Signed literal whose variable is stored in Xgcf::lit.
And = 3
Conjunction over the node’s child range.
Or = 4
Deterministic disjunction over the node’s child range.
Decision = 5
Binary decision with explicit false and true children.
Trait Implementations§
Source§impl Clone for XgcfNodeType
impl Clone for XgcfNodeType
Source§fn clone(&self) -> XgcfNodeType
fn clone(&self) -> XgcfNodeType
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 XgcfNodeType
Source§impl Debug for XgcfNodeType
impl Debug for XgcfNodeType
impl Eq for XgcfNodeType
Source§impl PartialEq for XgcfNodeType
impl PartialEq for XgcfNodeType
impl StructuralPartialEq for XgcfNodeType
Auto Trait Implementations§
impl Freeze for XgcfNodeType
impl RefUnwindSafe for XgcfNodeType
impl Send for XgcfNodeType
impl Sync for XgcfNodeType
impl Unpin for XgcfNodeType
impl UnsafeUnpin for XgcfNodeType
impl UnwindSafe for XgcfNodeType
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