pub enum FieldContent<X = Comparand, V = ConstId> {
Source(X),
Value(V),
Sum(usize),
Program,
}Variants§
Source(X)
Value(V)
Sum(usize)
Program
No SOURCE, VALUE or SUM: the program’s own statements fill the field.
Trait Implementations§
Source§impl Decode for FieldContent
impl Decode for FieldContent
impl<X: Eq, V: Eq> Eq for FieldContent<X, V>
impl<X: PartialEq, V: PartialEq> StructuralPartialEq for FieldContent<X, V>
Auto Trait Implementations§
impl<X, V> Freeze for FieldContent<X, V>
impl<X, V> RefUnwindSafe for FieldContent<X, V>where
X: RefUnwindSafe,
V: RefUnwindSafe,
impl<X, V> Send for FieldContent<X, V>
impl<X, V> Sync for FieldContent<X, V>
impl<X, V> Unpin for FieldContent<X, V>
impl<X, V> UnsafeUnpin for FieldContent<X, V>where
X: UnsafeUnpin,
V: UnsafeUnpin,
impl<X, V> UnwindSafe for FieldContent<X, V>where
X: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
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