pub enum Rate {
Slow,
Fast,
}Expand description
How fast this Game Boy clocks the wire.
Variants§
Slow
8192 bits a second, the rate every Game Boy handles.
Fast
Available on crate feature
cgb only.262144 bits a second, which only a Game Boy Color can clock. The far end follows whatever reaches it and need not be one.
Trait Implementations§
impl Copy for Rate
impl Eq for Rate
impl StructuralPartialEq for Rate
Auto Trait Implementations§
impl BankSafe for Rate
impl Freeze for Rate
impl RefUnwindSafe for Rate
impl Send for Rate
impl Sync for Rate
impl Unpin for Rate
impl UnsafeUnpin for Rate
impl UnwindSafe for Rate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more