pub struct MockDisplay { /* private fields */ }
Available on crate feature mock only.

Implementations

Safety

This function is unsafe, the caller must ensure the ptr points to the start of a valid frame buffer.

Trait Implementations

Returns the framebuffer.

Write pixel color.

Fill a given rectangle with color.

Clear the screen with color.

Whether need to flush the frambuffer to screen.

Flush framebuffer to screen.

Returns name of the driver.

Handles an interrupt.

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.

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.

Casts the value.

Casts the value.

Casts the value.

Casts the value.