pub enum SLTForFoldResult<A: Hash + Eq + Clone> {
State(VarAtomBase<A>),
Transient {
initial: NodeId,
update: NodeId,
},
}Expand description
Selects the value returned by a legacy dynamic loop fold.
Most folds return one of their variable-backed states. Control-flow lowering can instead carry a transient value which has no semantic HDL variable and therefore must not be represented by a fabricated bit range.
Variants§
Trait Implementations§
Source§impl<A: Clone + Hash + Eq + Clone> Clone for SLTForFoldResult<A>
impl<A: Clone + Hash + Eq + Clone> Clone for SLTForFoldResult<A>
Source§fn clone(&self) -> SLTForFoldResult<A>
fn clone(&self) -> SLTForFoldResult<A>
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 moreSource§impl<'de, A> Deserialize<'de> for SLTForFoldResult<A>
impl<'de, A> Deserialize<'de> for SLTForFoldResult<A>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<A: Eq + Hash + Eq + Clone> Eq for SLTForFoldResult<A>
Source§impl<A> Serialize for SLTForFoldResult<A>
impl<A> Serialize for SLTForFoldResult<A>
impl<A: PartialEq + Hash + Eq + Clone> StructuralPartialEq for SLTForFoldResult<A>
Auto Trait Implementations§
impl<A> Freeze for SLTForFoldResult<A>where
VarAtomBase<A>: Freeze,
impl<A> RefUnwindSafe for SLTForFoldResult<A>where
VarAtomBase<A>: RefUnwindSafe,
impl<A> Send for SLTForFoldResult<A>where
VarAtomBase<A>: Send,
impl<A> Sync for SLTForFoldResult<A>where
VarAtomBase<A>: Sync,
impl<A> Unpin for SLTForFoldResult<A>where
VarAtomBase<A>: Unpin,
impl<A> UnsafeUnpin for SLTForFoldResult<A>where
VarAtomBase<A>: UnsafeUnpin,
impl<A> UnwindSafe for SLTForFoldResult<A>where
VarAtomBase<A>: 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