pub struct Door { /* private fields */ }

Implementations

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

⚠ This function creates default values for each state data field and creates a pretty printed string of the value

Generate a DOT file for the state machine that hides default expressions for state fields and extended state fields, but shows event actions Read more

Generate a DOT file for the state machine that shows default expressions for state fields and extended state fields Read more

Generate a DOT file for the state machine that pretty prints the values of default expressions for state fields and extended state fields. Read more

Do not show event actions

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.