pub struct Dimensions {
    pub rows: u16,
    pub cols: u8,
}
Expand description

Represents the dimensions of the display.

Fields

rows: u16

The number of rows the display has.

Must be less than or equal to MAX_GATE_OUTPUTS.

cols: u8

The number of columns the display has.

Must be less than or equal to MAX_SOURCE_OUTPUTS.

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.

Performs the conversion.

Performs the conversion.

Casts the value.

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

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.