Struct calyx::ir::Group

source · []
pub struct Group {
    pub assignments: Vec<Assignment>,
    pub holes: SmallVec<[RRC<Port>; 3]>,
    pub attributes: Attributes,
    /* private fields */
}
Expand description

A Group of assignments that perform a logical action.

Fields

assignments: Vec<Assignment>

The assignments used in this group

holes: SmallVec<[RRC<Port>; 3]>

Holes for this group

attributes: Attributes

Attributes for this group.

Implementations

Get a reference to the named hole if it exists.

Get a reference to the named hole or panic.

Returns a reference to the assignment in the group that writes to the done condition.

Returns a mutable reference to the assignment in the group that writes to the done condition.

The name of this group.

The attributes of this group.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Return a reference to the object’s name

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.