pub struct PnBlock { /* fields omitted */ }
Expand description
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 PlaceNot
s, 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 PlaceNot
s, 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 PlaceNot
s, without checking that the resulting
PnBlock
is valid.
This is only safe if:
Returns an iterator over the PlaceNot
s contained in this PnBlock
The Stage
of this PnBlock
.
The number of PlaceNot
s 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 PlaceNot
s. This Block
will contain only
default annotations.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
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.
The type returned in the event of a conversion error.