pub struct NoPin;
Expand description

The NoPin struct is here as a dummy implementation of the OutputPin trait to handle the case when devices do not have a RST Pin and remove the need for the user to use a real Pin as a fake one in this case.

Trait Implementations

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

Error type

Drives the pin low Read more

Drives the pin high Read more

Drives the pin high or low depending on the provided value Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

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

Casts the value.

Casts the value.

Casts the value.

Casts the value.

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.

Casts the value.

Casts the value.

Casts the value.

Casts the value.