pub enum LoResDxy0Behavior {
    NoOp,
    TallSprite,
    BigSprite,
}
Expand description

Represents the different possible behaviors of attempting to draw a sprite with 0 height with the instruction DXY0 while in lores (low-resolution 64x32) mode.

Variants

NoOp

No operation (original behavior)

TallSprite

Draw a sprite with height 16 (DREAM 6800 behavior)

BigSprite

Draw a 16x16 sprite, ie. the same behavior as in hires (high-resolution 128x64 SUPER-CHIP XO-CHIP) mode (Octo behavior)

Trait Implementations

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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

Returns the argument unchanged.

Calls U::from(self).

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

Converts the given value to a String. Read more

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.