Struct pnets::timed::Place[][src]

pub struct Place {
    pub label: Option<String>,
    pub initial: usize,
    pub produced_by: Marking<TransitionId>,
    pub consumed_by: Marking<TransitionId>,
    pub condition_for: Marking<TransitionId>,
    pub inhibitor_for: Marking<TransitionId>,
    // some fields omitted
}
Expand description

Representation of a timed place

Fields

label: Option<String>

Label of the place

initial: usize

Initial value of the place

produced_by: Marking<TransitionId>

Transitions that produce this place

consumed_by: Marking<TransitionId>

Transitions that consume this place

condition_for: Marking<TransitionId>

Transitions that has condition on this place

inhibitor_for: Marking<TransitionId>

Transitions that has inhibitor on this place

Implementations

Return the id of the place

Disconnect a place from the network

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 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.