Struct bellframe::place_not::PnBlock[][src]

pub struct PnBlock { /* fields omitted */ }
Expand description

A contiguous block of PlaceNots.

Implementations

Parse a string slice into a PnBlock, checking for ambiguity and correctness. This also expands symmetric blocks and implicit places.

Creates a new PnBlock from an Iterator of PlaceNots, checking that the resulting PnBlock is valid (i.e. all the stages match and the PnBlock contains at least one PlaceNot).

Creates a new PnBlock from a Vec of PlaceNots, checking that the resulting PnBlock is valid (i.e. all the stages match and the PnBlock contains at least one PlaceNot).

Creates a new PnBlock from a Vec of PlaceNots, without checking that the resulting PnBlock is valid.

Safety

This is only safe if:

Returns an iterator over the PlaceNots contained in this PnBlock

The Stage of this PnBlock.

The number of PlaceNots in this PnBlock. This is also the len of any Block generated by applying this PnBlock to some Row.

Generates a Block specified by these PlaceNots. This Block will contain only default annotations.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.