pub struct StateRole {
pub name: Arc<str>,
pub ty: Ty,
pub field: Option<Arc<str>>,
pub node: SigId,
}Expand description
One durable accumulator the program declared.
Fields§
§name: Arc<str>§ty: Ty§field: Option<Arc<str>>The field this fold occupies in the fused accumulator, when there is more than one fold.
None when the program has a single fold and its own type is the accumulator.
node: SigIdTrait Implementations§
Auto Trait Implementations§
impl Freeze for StateRole
impl RefUnwindSafe for StateRole
impl Send for StateRole
impl Sync for StateRole
impl Unpin for StateRole
impl UnwindSafe for StateRole
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