Enum octopt::LoResDxy0Behavior
source · [−]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
sourceimpl Debug for LoResDxy0Behavior
impl Debug for LoResDxy0Behavior
sourceimpl Default for LoResDxy0Behavior
impl Default for LoResDxy0Behavior
sourceimpl<'de> Deserialize<'de> for LoResDxy0Behavior
impl<'de> Deserialize<'de> for LoResDxy0Behavior
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for LoResDxy0Behavior
impl Display for LoResDxy0Behavior
sourceimpl FromStr for LoResDxy0Behavior
impl FromStr for LoResDxy0Behavior
sourceimpl Serialize for LoResDxy0Behavior
impl Serialize for LoResDxy0Behavior
impl StructuralPartialEq for LoResDxy0Behavior
Auto Trait Implementations
impl RefUnwindSafe for LoResDxy0Behavior
impl Send for LoResDxy0Behavior
impl Sync for LoResDxy0Behavior
impl Unpin for LoResDxy0Behavior
impl UnwindSafe for LoResDxy0Behavior
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more