From b6cf7e43c743cab0bbd13f64cd63317eea64db3d Mon Sep 17 00:00:00 2001 From: Zenn Date: Sun, 20 Aug 2023 12:31:52 +0200 Subject: [PATCH] update docs and added support to print String from heapless --- Examples/drboy/src/lib.rs | 11 ++-- arduboy-rust/src/library/arduboy2.rs | 1 + arduboy-rust/src/library/progmem.rs | 2 +- arduboy-rust/src/print.rs | 11 ++++ docs/doc/arduboy_rust/arduboy2/index.html | 2 +- .../arduboy2/struct.Arduboy2.html | 51 ++++++++++--------- .../arduboy_rust/heapless/struct.String.html | 4 +- docs/doc/arduboy_rust/macro.f.html | 2 +- .../arduboy_rust/prelude/arduboy2/index.html | 2 +- .../prelude/arduboy2/struct.Arduboy2.html | 51 ++++++++++--------- docs/doc/arduboy_rust/prelude/macro.f.html | 2 +- .../arduboy_rust/prelude/struct.Arduboy2.html | 51 ++++++++++--------- .../arduboy_rust/prelude/struct.String.html | 4 +- .../arduboy_rust/prelude/trait.Printable.html | 2 +- docs/doc/arduboy_rust/struct.Arduboy2.html | 51 ++++++++++--------- docs/doc/implementors/core/cmp/trait.Eq.js | 2 +- docs/doc/implementors/core/cmp/trait.Ord.js | 2 +- docs/doc/implementors/core/hash/trait.Hash.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- docs/doc/search-index.js | 2 +- .../src/arduboy_rust/library/arduboy2.rs.html | 2 + .../src/arduboy_rust/library/progmem.rs.html | 2 +- docs/doc/src/arduboy_rust/print.rs.html | 22 ++++++++ 23 files changed, 161 insertions(+), 122 deletions(-) diff --git a/Examples/drboy/src/lib.rs b/Examples/drboy/src/lib.rs index ffbefbf..a98390c 100644 --- a/Examples/drboy/src/lib.rs +++ b/Examples/drboy/src/lib.rs @@ -33,12 +33,11 @@ struct Player { x: i16, y: i16, } -#[link_section = ".progmem.data"] static mut p: Player = Player { bitmap: get_sprite_addr!(enemies), bitmap_frame: 0, - x: 0, - y: 0, + x: 10, + y: 10, }; progmem!( static mut walls: Vec = Vec::new(); @@ -65,7 +64,7 @@ pub unsafe extern "C" fn loop_() { arduboy.clear(); sprites::draw_override(p.x, p.y, p.bitmap, p.bitmap_frame); walls.iter().for_each(|f| { - sprites::draw_override(f.x, f.y, f.bitmap, f.bitmap_frame); + sprites::draw_override(f.x * 8, f.y * 8, f.bitmap, f.bitmap_frame); }); arduboy.poll_buttons(); if arduboy.pressed(UP) { @@ -91,8 +90,8 @@ pub unsafe extern "C" fn loop_() { .push(Player { bitmap: get_sprite_addr!(pills), bitmap_frame: random_less_than(3) as u8, - x: random_between(10, 64) as i16, - y: random_between(10, 64) as i16, + x: random_between(0, 16) as i16, + y: random_between(0, 8) as i16, }) .unwrap(); } diff --git a/arduboy-rust/src/library/arduboy2.rs b/arduboy-rust/src/library/arduboy2.rs index 8f0c4c8..8cd478c 100644 --- a/arduboy-rust/src/library/arduboy2.rs +++ b/arduboy-rust/src/library/arduboy2.rs @@ -346,6 +346,7 @@ impl Arduboy2 { /// /// arduboy.print(b"Hello World\n\0"[..]); // Prints "Hello World" and then sets the /// // text cursor to the start of the next line + /// arduboy.print(f!(b"Hello World\n")); // Prints "Hello World" but does not use the 2kb ram /// arduboy.print(value); // Prints "42" /// arduboy.print("\n\0"); // Sets the text cursor to the start of the next line /// arduboy.print("hello world") // Prints normal [&str] diff --git a/arduboy-rust/src/library/progmem.rs b/arduboy-rust/src/library/progmem.rs index b54feed..ac890bd 100644 --- a/arduboy-rust/src/library/progmem.rs +++ b/arduboy-rust/src/library/progmem.rs @@ -110,7 +110,7 @@ pub(super) use get_string_addr; /// This automatically saves the given text to the Progmem. /// ## Example /// ``` -/// arduboy.print(f!(b"Random text to print")) +/// arduboy.print(f!(b"Random text to print\0")) /// ``` #[macro_export] macro_rules! f { diff --git a/arduboy-rust/src/print.rs b/arduboy-rust/src/print.rs index 4b8692b..3f6ba4c 100644 --- a/arduboy-rust/src/print.rs +++ b/arduboy-rust/src/print.rs @@ -102,6 +102,17 @@ impl Printable for &str { fn default_parameters() -> Self::Parameters {} } +impl Printable for crate::heapless::String { + type Parameters = (); + + fn print_2(self, _params: Self::Parameters) { + unsafe { + crate::library::arduboy2::print_chars(self.as_bytes() as *const [u8] as *const i8); + } + } + + fn default_parameters() -> Self::Parameters {} +} impl Printable for Pstring { type Parameters = (); diff --git a/docs/doc/arduboy_rust/arduboy2/index.html b/docs/doc/arduboy_rust/arduboy2/index.html index a5d1bfe..a92cef0 100644 --- a/docs/doc/arduboy_rust/arduboy2/index.html +++ b/docs/doc/arduboy_rust/arduboy2/index.html @@ -1,3 +1,3 @@ -arduboy_rust::arduboy2 - Rust

Module arduboy_rust::arduboy2

source ·
Expand description

This is the Module to interact in a save way with the Arduboy2 C++ library.

+arduboy_rust::arduboy2 - Rust

Module arduboy_rust::arduboy2

source ·
Expand description

This is the Module to interact in a save way with the Arduboy2 C++ library.

All of the functions are safe wrapped inside the Arduboy2 struct.

Structs

  • This is the struct to interact in a save way with the Arduboy2 C++ library.
  • This struct is used by a few Arduboy functions.
  • This struct is used by a few Arduboy functions.

Enums

  • This item is to chose between Black or White

Constants

  • The standard font size of the arduboy
  • The standard height of the arduboy
  • The standard width of the arduboy
\ No newline at end of file diff --git a/docs/doc/arduboy_rust/arduboy2/struct.Arduboy2.html b/docs/doc/arduboy_rust/arduboy2/struct.Arduboy2.html index 94f9e30..112cb08 100644 --- a/docs/doc/arduboy_rust/arduboy2/struct.Arduboy2.html +++ b/docs/doc/arduboy_rust/arduboy2/struct.Arduboy2.html @@ -1,5 +1,5 @@ Arduboy2 in arduboy_rust::arduboy2 - Rust
pub struct Arduboy2 {}
Expand description

This is the struct to interact in a save way with the Arduboy2 C++ library.

-

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

+

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

Example
const arduboy: Arduboy2 = Arduboy2::new();
source

pub fn begin(&self)

Initialize the hardware, display the boot logo, provide boot utilities, etc. @@ -176,7 +176,7 @@ The contents of the display buffer in RAM are copied to the display and will app

Returns

true if all buttons in the provided mask are currently pressed.

Read the state of the buttons and return true if all of the buttons in the specified mask are being pressed.

-
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

+
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

For an Arduboy2 class object, functions provided by the Arduino Print class can be used to write text to the screen buffer, in the same manner as the Arduino Serial.print(), etc., functions.

Print will use the write() function to actually draw each character in the screen buffer, using the library’s font5x7 font. Two character values are handled specially:

    @@ -189,10 +189,11 @@ The contents of the display buffer in RAM are copied to the display and will app arduboy.print(b"Hello World\n\0"[..]); // Prints "Hello World" and then sets the // text cursor to the start of the next line +arduboy.print(f!(b"Hello World\n")); // Prints "Hello World" but does not use the 2kb ram arduboy.print(value); // Prints "42" arduboy.print("\n\0"); // Sets the text cursor to the start of the next line arduboy.print("hello world") // Prints normal [&str]
-
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

+
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

Parameters
  • @@ -203,41 +204,41 @@ arduboy.print(b"Hello World\n\0"[..]);

The location of the text cursor is set the the specified coordinates. The coordinates are in pixels. Since the coordinates can specify any pixel location, the text does not have to be placed on specific rows. As with all drawing functions, location 0, 0 is the top left corner of the display. The cursor location represents the top left corner of the next character written.

-
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

+
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

Parameters
  • rate The desired frame rate in frames per second.

Normally, the frame rate would be set to the desired value once, at the start of the game, but it can be changed at any time to alter the frame update rate.

-
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

+
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

Parameters
  • s The text size multiplier. Must be 1 or higher.

Setting a text size of 1 will result in standard size characters with one pixel for each bit in the bitmap for a character. The value specified is a multiplier. A value of 2 will double the width and height. A value of 3 will triple the dimensions, etc.

-
source

pub fn audio_on(&self)

Turn sound on.

+
source

pub fn audio_on(&self)

Turn sound on.

The system is configured to generate sound. This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_off(&self)

Turn sound off (mute).

+
source

pub fn audio_off(&self)

Turn sound off (mute).

The system is configured to not produce sound (mute). This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

+
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

The current sound state, set by on() or off(), is saved to the reserved system area in EEPROM. This allows the state to carry over between power cycles and after uploading a different sketch.

Note EEPROM is limited in the number of times it can be written to. Sketches should not continuously change and then save the state rapidly.

-
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

+
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

If the system is configured for sound on, it will be changed to sound off (mute). If sound is off, it will be changed to on. This function sets the sound mode only until the unit is powered off. To save the current mode use saveOnOff().

-
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

-
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

+
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

+
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

Returns

true if sound is currently enabled (not muted).

This function should be used by code that actually generates sound. If true is returned, sound can be produced. If false is returned, sound should be muted.

-
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

+
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

Parameters
  • inverse true will invert the display. false will set the display to no-inverted.

Calling this function with a value of true will set the display to inverted mode. A pixel with a value of 0 will be on and a pixel set to 1 will be off.

Once in inverted mode, the display will remain this way until it is set back to non-inverted mode by calling this function with false.

-
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

+
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

Parameters

  • point A structure describing the location of the point.
  • @@ -246,7 +247,7 @@ EEPROM is limited in the number of times it can be written to. Sketches should n

    Returns true if the specified point is within the specified rectangle.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with the given point.

    -
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

+
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

Parameters

  • rect1,rect2 Structures describing the size and locations of the rectangles.
  • @@ -254,14 +255,14 @@ true if the specified point is within the specified rectangle.

    Returns true if the first rectangle is intersecting the second.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with another rectangular object.

    -
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • color The name of the LED to set. The value given should be one of RED_LED, GREEN_LED or BLUE_LED.
  • val Indicates whether to turn the specified LED on or off. The value given should be RGB_ON or RGB_OFF.

This 2 parameter version of the function will set a single LED within the RGB LED either fully on or fully off. See the description of the 3 parameter version of this function for more details on the RGB LED.

-
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • red,green,blue Use value RGB_ON or RGB_OFF to set each LED.
  • @@ -277,7 +278,7 @@ true if the first rectangle is intersecting the second.

    RGB_ON RGB_OFF RGB_ON Magenta RGB_ON RGB_ON RGB_OFF Yellow RGB_ON RGB_ON RGB_ON White -
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

+
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

Parameters

  • frames The desired number of elapsed frames.
  • @@ -293,52 +294,52 @@ true if the specified number of frames has elapsed.

    fireShot(); } }
-
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

+
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

Parameters

  • flipped true will set vertical flip mode. false will set normal vertical orientation.

Calling this function with a value of true will cause the Y coordinate to start at the bottom edge of the display instead of the top, effectively flipping the display vertically.

Once in vertical flip mode, it will remain this way until normal vertical mode is set by calling this function with a value of false.

-
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

+
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

Parameters

  • flipped true will set horizontal flip mode. false will set normal horizontal orientation.

Calling this function with a value of true will cause the X coordinate to start at the left edge of the display instead of the right, effectively flipping the display horizontally.

Once in horizontal flip mode, it will remain this way until normal horizontal mode is set by calling this function with a value of false.

-
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

+
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

Parameters

  • color The color to be used for following text. The values WHITE or BLACK should be used.
-
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

+
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

Parameters

  • color The background color to be used for following text. The values WHITE or BLACK should be used.

The background pixels of following characters will be set to the specified color.

However, if the background color is set to be the same as the text color, the background will be transparent. Only the foreground pixels will be drawn. The background pixels will remain as they were before the character was drawn.

-
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

+
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

Parameters

  • x The X (horizontal) coordinate, in pixels, for the new location of the text cursor.

The X coordinate for the location of the text cursor is set to the specified value, leaving the Y coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

+
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

Parameters

  • y The Y (vertical) coordinate, in pixels, for the new location of the text cursor.

The Y coordinate for the location of the text cursor is set to the specified value, leaving the X coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

+
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

Parameters

  • w true enables text wrap mode. false disables it.

Text wrap mode is enabled by specifying true. In wrap mode, if a character to be drawn would end up partially or fully past the right edge of the screen (based on the current text size), it will be placed at the start of the next line. The text cursor will be adjusted accordingly.

If wrap mode is disabled, characters will always be written at the current text cursor position. A character near the right edge of the screen may only be partially displayed and characters drawn at a position past the right edge of the screen will remain off screen.

-
source

pub fn idle(&self)

Idle the CPU to save power.

+
source

pub fn idle(&self)

Idle the CPU to save power.

This puts the CPU in idle sleep mode. You should call this as often as you can for the best power savings. The timer 0 overflow interrupt will wake up the chip every 1ms, so even at 60 FPS a well written app should be able to sleep maybe half the time in between rendering it’s own frames.

Auto Trait Implementations§

§

impl RefUnwindSafe for Arduboy2

§

impl Send for Arduboy2

§

impl Sync for Arduboy2

§

impl Unpin for Arduboy2

§

impl UnwindSafe for Arduboy2

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere diff --git a/docs/doc/arduboy_rust/heapless/struct.String.html b/docs/doc/arduboy_rust/heapless/struct.String.html index 8d7307d..0b133ce 100644 --- a/docs/doc/arduboy_rust/heapless/struct.String.html +++ b/docs/doc/arduboy_rust/heapless/struct.String.html @@ -1,4 +1,4 @@ -String in arduboy_rust::heapless - Rust
pub struct String<const N: usize> { /* private fields */ }
Expand description

A fixed capacity String

+String in arduboy_rust::heapless - Rust
pub struct String<const N: usize> { /* private fields */ }
Expand description

A fixed capacity String

Implementations§

source§

impl<const N: usize> String<N>

source

pub const fn new() -> String<N>

Constructs a new, empty String with a fixed capacity of N bytes

Examples

Basic usage:

@@ -1359,7 +1359,7 @@ sufficient, and should not be overridden without very good reason.
==.
source§

fn ne(&self, other: &str) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<const N1: usize, const N2: usize> PartialOrd<String<N2>> for String<N1>

source§

fn partial_cmp(&self, other: &String<N2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write +operator. Read more
source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write succeeded. Read more
source§

fn write_char(&mut self, c: char) -> Result<(), Error>

Writes a [char] into this writer, returning whether the write succeeded. Read more
1.0.0§

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>

Glue for usage of the [write!] macro with implementors of this trait. Read more
source§

impl<const N: usize> Eq for String<N>

Auto Trait Implementations§

§

impl<const N: usize> RefUnwindSafe for String<N>

§

impl<const N: usize> Send for String<N>

§

impl<const N: usize> Sync for String<N>

§

impl<const N: usize> Unpin for String<N>

§

impl<const N: usize> UnwindSafe for String<N>

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere diff --git a/docs/doc/arduboy_rust/macro.f.html b/docs/doc/arduboy_rust/macro.f.html index f92f937..3075191 100644 --- a/docs/doc/arduboy_rust/macro.f.html +++ b/docs/doc/arduboy_rust/macro.f.html @@ -4,5 +4,5 @@

This doesn’t waste the 2kb ram it saves to progmem (28kb) This automatically saves the given text to the Progmem.

Example

-
arduboy.print(f!(b"Random text to print"))
+
arduboy.print(f!(b"Random text to print\0"))

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/prelude/arduboy2/index.html b/docs/doc/arduboy_rust/prelude/arduboy2/index.html index 405fb24..bd32e18 100644 --- a/docs/doc/arduboy_rust/prelude/arduboy2/index.html +++ b/docs/doc/arduboy_rust/prelude/arduboy2/index.html @@ -1,3 +1,3 @@ -arduboy_rust::prelude::arduboy2 - Rust
Expand description

This is the Module to interact in a save way with the Arduboy2 C++ library.

+arduboy_rust::prelude::arduboy2 - Rust
Expand description

This is the Module to interact in a save way with the Arduboy2 C++ library.

All of the functions are safe wrapped inside the Arduboy2 struct.

Structs

  • This is the struct to interact in a save way with the Arduboy2 C++ library.
  • This struct is used by a few Arduboy functions.
  • This struct is used by a few Arduboy functions.

Enums

  • This item is to chose between Black or White

Constants

  • The standard font size of the arduboy
  • The standard height of the arduboy
  • The standard width of the arduboy
\ No newline at end of file diff --git a/docs/doc/arduboy_rust/prelude/arduboy2/struct.Arduboy2.html b/docs/doc/arduboy_rust/prelude/arduboy2/struct.Arduboy2.html index f8d490c..3949f0a 100644 --- a/docs/doc/arduboy_rust/prelude/arduboy2/struct.Arduboy2.html +++ b/docs/doc/arduboy_rust/prelude/arduboy2/struct.Arduboy2.html @@ -1,5 +1,5 @@ Arduboy2 in arduboy_rust::prelude::arduboy2 - Rust
pub struct Arduboy2 {}
Expand description

This is the struct to interact in a save way with the Arduboy2 C++ library.

-

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

+

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

Example
const arduboy: Arduboy2 = Arduboy2::new();
source

pub fn begin(&self)

Initialize the hardware, display the boot logo, provide boot utilities, etc. @@ -176,7 +176,7 @@ The contents of the display buffer in RAM are copied to the display and will app

Returns

true if all buttons in the provided mask are currently pressed.

Read the state of the buttons and return true if all of the buttons in the specified mask are being pressed.

-
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

+
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

For an Arduboy2 class object, functions provided by the Arduino Print class can be used to write text to the screen buffer, in the same manner as the Arduino Serial.print(), etc., functions.

Print will use the write() function to actually draw each character in the screen buffer, using the library’s font5x7 font. Two character values are handled specially:

    @@ -189,10 +189,11 @@ The contents of the display buffer in RAM are copied to the display and will app arduboy.print(b"Hello World\n\0"[..]); // Prints "Hello World" and then sets the // text cursor to the start of the next line +arduboy.print(f!(b"Hello World\n")); // Prints "Hello World" but does not use the 2kb ram arduboy.print(value); // Prints "42" arduboy.print("\n\0"); // Sets the text cursor to the start of the next line arduboy.print("hello world") // Prints normal [&str]
-
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

+
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

Parameters
  • @@ -203,41 +204,41 @@ arduboy.print(b"Hello World\n\0"[..]);

The location of the text cursor is set the the specified coordinates. The coordinates are in pixels. Since the coordinates can specify any pixel location, the text does not have to be placed on specific rows. As with all drawing functions, location 0, 0 is the top left corner of the display. The cursor location represents the top left corner of the next character written.

-
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

+
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

Parameters
  • rate The desired frame rate in frames per second.

Normally, the frame rate would be set to the desired value once, at the start of the game, but it can be changed at any time to alter the frame update rate.

-
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

+
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

Parameters
  • s The text size multiplier. Must be 1 or higher.

Setting a text size of 1 will result in standard size characters with one pixel for each bit in the bitmap for a character. The value specified is a multiplier. A value of 2 will double the width and height. A value of 3 will triple the dimensions, etc.

-
source

pub fn audio_on(&self)

Turn sound on.

+
source

pub fn audio_on(&self)

Turn sound on.

The system is configured to generate sound. This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_off(&self)

Turn sound off (mute).

+
source

pub fn audio_off(&self)

Turn sound off (mute).

The system is configured to not produce sound (mute). This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

+
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

The current sound state, set by on() or off(), is saved to the reserved system area in EEPROM. This allows the state to carry over between power cycles and after uploading a different sketch.

Note EEPROM is limited in the number of times it can be written to. Sketches should not continuously change and then save the state rapidly.

-
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

+
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

If the system is configured for sound on, it will be changed to sound off (mute). If sound is off, it will be changed to on. This function sets the sound mode only until the unit is powered off. To save the current mode use saveOnOff().

-
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

-
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

+
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

+
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

Returns

true if sound is currently enabled (not muted).

This function should be used by code that actually generates sound. If true is returned, sound can be produced. If false is returned, sound should be muted.

-
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

+
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

Parameters
  • inverse true will invert the display. false will set the display to no-inverted.

Calling this function with a value of true will set the display to inverted mode. A pixel with a value of 0 will be on and a pixel set to 1 will be off.

Once in inverted mode, the display will remain this way until it is set back to non-inverted mode by calling this function with false.

-
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

+
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

Parameters

  • point A structure describing the location of the point.
  • @@ -246,7 +247,7 @@ EEPROM is limited in the number of times it can be written to. Sketches should n

    Returns true if the specified point is within the specified rectangle.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with the given point.

    -
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

+
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

Parameters

  • rect1,rect2 Structures describing the size and locations of the rectangles.
  • @@ -254,14 +255,14 @@ true if the specified point is within the specified rectangle.

    Returns true if the first rectangle is intersecting the second.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with another rectangular object.

    -
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • color The name of the LED to set. The value given should be one of RED_LED, GREEN_LED or BLUE_LED.
  • val Indicates whether to turn the specified LED on or off. The value given should be RGB_ON or RGB_OFF.

This 2 parameter version of the function will set a single LED within the RGB LED either fully on or fully off. See the description of the 3 parameter version of this function for more details on the RGB LED.

-
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • red,green,blue Use value RGB_ON or RGB_OFF to set each LED.
  • @@ -277,7 +278,7 @@ true if the first rectangle is intersecting the second.

    RGB_ON RGB_OFF RGB_ON Magenta RGB_ON RGB_ON RGB_OFF Yellow RGB_ON RGB_ON RGB_ON White -
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

+
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

Parameters

  • frames The desired number of elapsed frames.
  • @@ -293,52 +294,52 @@ true if the specified number of frames has elapsed.

    fireShot(); } }
-
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

+
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

Parameters

  • flipped true will set vertical flip mode. false will set normal vertical orientation.

Calling this function with a value of true will cause the Y coordinate to start at the bottom edge of the display instead of the top, effectively flipping the display vertically.

Once in vertical flip mode, it will remain this way until normal vertical mode is set by calling this function with a value of false.

-
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

+
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

Parameters

  • flipped true will set horizontal flip mode. false will set normal horizontal orientation.

Calling this function with a value of true will cause the X coordinate to start at the left edge of the display instead of the right, effectively flipping the display horizontally.

Once in horizontal flip mode, it will remain this way until normal horizontal mode is set by calling this function with a value of false.

-
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

+
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

Parameters

  • color The color to be used for following text. The values WHITE or BLACK should be used.
-
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

+
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

Parameters

  • color The background color to be used for following text. The values WHITE or BLACK should be used.

The background pixels of following characters will be set to the specified color.

However, if the background color is set to be the same as the text color, the background will be transparent. Only the foreground pixels will be drawn. The background pixels will remain as they were before the character was drawn.

-
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

+
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

Parameters

  • x The X (horizontal) coordinate, in pixels, for the new location of the text cursor.

The X coordinate for the location of the text cursor is set to the specified value, leaving the Y coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

+
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

Parameters

  • y The Y (vertical) coordinate, in pixels, for the new location of the text cursor.

The Y coordinate for the location of the text cursor is set to the specified value, leaving the X coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

+
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

Parameters

  • w true enables text wrap mode. false disables it.

Text wrap mode is enabled by specifying true. In wrap mode, if a character to be drawn would end up partially or fully past the right edge of the screen (based on the current text size), it will be placed at the start of the next line. The text cursor will be adjusted accordingly.

If wrap mode is disabled, characters will always be written at the current text cursor position. A character near the right edge of the screen may only be partially displayed and characters drawn at a position past the right edge of the screen will remain off screen.

-
source

pub fn idle(&self)

Idle the CPU to save power.

+
source

pub fn idle(&self)

Idle the CPU to save power.

This puts the CPU in idle sleep mode. You should call this as often as you can for the best power savings. The timer 0 overflow interrupt will wake up the chip every 1ms, so even at 60 FPS a well written app should be able to sleep maybe half the time in between rendering it’s own frames.

Auto Trait Implementations§

§

impl RefUnwindSafe for Arduboy2

§

impl Send for Arduboy2

§

impl Sync for Arduboy2

§

impl Unpin for Arduboy2

§

impl UnwindSafe for Arduboy2

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere diff --git a/docs/doc/arduboy_rust/prelude/macro.f.html b/docs/doc/arduboy_rust/prelude/macro.f.html index 5550033..ad3b7be 100644 --- a/docs/doc/arduboy_rust/prelude/macro.f.html +++ b/docs/doc/arduboy_rust/prelude/macro.f.html @@ -4,5 +4,5 @@

This doesn’t waste the 2kb ram it saves to progmem (28kb) This automatically saves the given text to the Progmem.

Example

-
arduboy.print(f!(b"Random text to print"))
+
arduboy.print(f!(b"Random text to print\0"))

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/prelude/struct.Arduboy2.html b/docs/doc/arduboy_rust/prelude/struct.Arduboy2.html index 3a5c8c3..7408935 100644 --- a/docs/doc/arduboy_rust/prelude/struct.Arduboy2.html +++ b/docs/doc/arduboy_rust/prelude/struct.Arduboy2.html @@ -1,5 +1,5 @@ Arduboy2 in arduboy_rust::prelude - Rust
pub struct Arduboy2 {}
Expand description

This is the struct to interact in a save way with the Arduboy2 C++ library.

-

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

+

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

Example
const arduboy: Arduboy2 = Arduboy2::new();
source

pub fn begin(&self)

Initialize the hardware, display the boot logo, provide boot utilities, etc. @@ -176,7 +176,7 @@ The contents of the display buffer in RAM are copied to the display and will app

Returns

true if all buttons in the provided mask are currently pressed.

Read the state of the buttons and return true if all of the buttons in the specified mask are being pressed.

-
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

+
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

For an Arduboy2 class object, functions provided by the Arduino Print class can be used to write text to the screen buffer, in the same manner as the Arduino Serial.print(), etc., functions.

Print will use the write() function to actually draw each character in the screen buffer, using the library’s font5x7 font. Two character values are handled specially:

    @@ -189,10 +189,11 @@ The contents of the display buffer in RAM are copied to the display and will app arduboy.print(b"Hello World\n\0"[..]); // Prints "Hello World" and then sets the // text cursor to the start of the next line +arduboy.print(f!(b"Hello World\n")); // Prints "Hello World" but does not use the 2kb ram arduboy.print(value); // Prints "42" arduboy.print("\n\0"); // Sets the text cursor to the start of the next line arduboy.print("hello world") // Prints normal [&str]
-
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

+
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

Parameters
  • @@ -203,41 +204,41 @@ arduboy.print(b"Hello World\n\0"[..]);

The location of the text cursor is set the the specified coordinates. The coordinates are in pixels. Since the coordinates can specify any pixel location, the text does not have to be placed on specific rows. As with all drawing functions, location 0, 0 is the top left corner of the display. The cursor location represents the top left corner of the next character written.

-
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

+
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

Parameters
  • rate The desired frame rate in frames per second.

Normally, the frame rate would be set to the desired value once, at the start of the game, but it can be changed at any time to alter the frame update rate.

-
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

+
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

Parameters
  • s The text size multiplier. Must be 1 or higher.

Setting a text size of 1 will result in standard size characters with one pixel for each bit in the bitmap for a character. The value specified is a multiplier. A value of 2 will double the width and height. A value of 3 will triple the dimensions, etc.

-
source

pub fn audio_on(&self)

Turn sound on.

+
source

pub fn audio_on(&self)

Turn sound on.

The system is configured to generate sound. This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_off(&self)

Turn sound off (mute).

+
source

pub fn audio_off(&self)

Turn sound off (mute).

The system is configured to not produce sound (mute). This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

+
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

The current sound state, set by on() or off(), is saved to the reserved system area in EEPROM. This allows the state to carry over between power cycles and after uploading a different sketch.

Note EEPROM is limited in the number of times it can be written to. Sketches should not continuously change and then save the state rapidly.

-
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

+
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

If the system is configured for sound on, it will be changed to sound off (mute). If sound is off, it will be changed to on. This function sets the sound mode only until the unit is powered off. To save the current mode use saveOnOff().

-
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

-
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

+
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

+
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

Returns

true if sound is currently enabled (not muted).

This function should be used by code that actually generates sound. If true is returned, sound can be produced. If false is returned, sound should be muted.

-
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

+
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

Parameters
  • inverse true will invert the display. false will set the display to no-inverted.

Calling this function with a value of true will set the display to inverted mode. A pixel with a value of 0 will be on and a pixel set to 1 will be off.

Once in inverted mode, the display will remain this way until it is set back to non-inverted mode by calling this function with false.

-
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

+
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

Parameters

  • point A structure describing the location of the point.
  • @@ -246,7 +247,7 @@ EEPROM is limited in the number of times it can be written to. Sketches should n

    Returns true if the specified point is within the specified rectangle.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with the given point.

    -
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

+
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

Parameters

  • rect1,rect2 Structures describing the size and locations of the rectangles.
  • @@ -254,14 +255,14 @@ true if the specified point is within the specified rectangle.

    Returns true if the first rectangle is intersecting the second.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with another rectangular object.

    -
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • color The name of the LED to set. The value given should be one of RED_LED, GREEN_LED or BLUE_LED.
  • val Indicates whether to turn the specified LED on or off. The value given should be RGB_ON or RGB_OFF.

This 2 parameter version of the function will set a single LED within the RGB LED either fully on or fully off. See the description of the 3 parameter version of this function for more details on the RGB LED.

-
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • red,green,blue Use value RGB_ON or RGB_OFF to set each LED.
  • @@ -277,7 +278,7 @@ true if the first rectangle is intersecting the second.

    RGB_ON RGB_OFF RGB_ON Magenta RGB_ON RGB_ON RGB_OFF Yellow RGB_ON RGB_ON RGB_ON White -
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

+
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

Parameters

  • frames The desired number of elapsed frames.
  • @@ -293,52 +294,52 @@ true if the specified number of frames has elapsed.

    fireShot(); } }
-
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

+
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

Parameters

  • flipped true will set vertical flip mode. false will set normal vertical orientation.

Calling this function with a value of true will cause the Y coordinate to start at the bottom edge of the display instead of the top, effectively flipping the display vertically.

Once in vertical flip mode, it will remain this way until normal vertical mode is set by calling this function with a value of false.

-
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

+
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

Parameters

  • flipped true will set horizontal flip mode. false will set normal horizontal orientation.

Calling this function with a value of true will cause the X coordinate to start at the left edge of the display instead of the right, effectively flipping the display horizontally.

Once in horizontal flip mode, it will remain this way until normal horizontal mode is set by calling this function with a value of false.

-
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

+
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

Parameters

  • color The color to be used for following text. The values WHITE or BLACK should be used.
-
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

+
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

Parameters

  • color The background color to be used for following text. The values WHITE or BLACK should be used.

The background pixels of following characters will be set to the specified color.

However, if the background color is set to be the same as the text color, the background will be transparent. Only the foreground pixels will be drawn. The background pixels will remain as they were before the character was drawn.

-
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

+
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

Parameters

  • x The X (horizontal) coordinate, in pixels, for the new location of the text cursor.

The X coordinate for the location of the text cursor is set to the specified value, leaving the Y coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

+
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

Parameters

  • y The Y (vertical) coordinate, in pixels, for the new location of the text cursor.

The Y coordinate for the location of the text cursor is set to the specified value, leaving the X coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

+
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

Parameters

  • w true enables text wrap mode. false disables it.

Text wrap mode is enabled by specifying true. In wrap mode, if a character to be drawn would end up partially or fully past the right edge of the screen (based on the current text size), it will be placed at the start of the next line. The text cursor will be adjusted accordingly.

If wrap mode is disabled, characters will always be written at the current text cursor position. A character near the right edge of the screen may only be partially displayed and characters drawn at a position past the right edge of the screen will remain off screen.

-
source

pub fn idle(&self)

Idle the CPU to save power.

+
source

pub fn idle(&self)

Idle the CPU to save power.

This puts the CPU in idle sleep mode. You should call this as often as you can for the best power savings. The timer 0 overflow interrupt will wake up the chip every 1ms, so even at 60 FPS a well written app should be able to sleep maybe half the time in between rendering it’s own frames.

Auto Trait Implementations§

§

impl RefUnwindSafe for Arduboy2

§

impl Send for Arduboy2

§

impl Sync for Arduboy2

§

impl Unpin for Arduboy2

§

impl UnwindSafe for Arduboy2

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere diff --git a/docs/doc/arduboy_rust/prelude/struct.String.html b/docs/doc/arduboy_rust/prelude/struct.String.html index 5c0b207..74c3cea 100644 --- a/docs/doc/arduboy_rust/prelude/struct.String.html +++ b/docs/doc/arduboy_rust/prelude/struct.String.html @@ -1,4 +1,4 @@ -String in arduboy_rust::prelude - Rust
pub struct String<const N: usize> { /* private fields */ }
Expand description

A fixed capacity String

+String in arduboy_rust::prelude - Rust
pub struct String<const N: usize> { /* private fields */ }
Expand description

A fixed capacity String

Implementations§

source§

impl<const N: usize> String<N>

source

pub const fn new() -> String<N>

Constructs a new, empty String with a fixed capacity of N bytes

Examples

Basic usage:

@@ -1359,7 +1359,7 @@ sufficient, and should not be overridden without very good reason.
==.
source§

fn ne(&self, other: &str) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<const N1: usize, const N2: usize> PartialOrd<String<N2>> for String<N1>

source§

fn partial_cmp(&self, other: &String<N2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write +operator. Read more
source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write succeeded. Read more
source§

fn write_char(&mut self, c: char) -> Result<(), Error>

Writes a [char] into this writer, returning whether the write succeeded. Read more
1.0.0§

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>

Glue for usage of the [write!] macro with implementors of this trait. Read more
source§

impl<const N: usize> Eq for String<N>

Auto Trait Implementations§

§

impl<const N: usize> RefUnwindSafe for String<N>

§

impl<const N: usize> Send for String<N>

§

impl<const N: usize> Sync for String<N>

§

impl<const N: usize> Unpin for String<N>

§

impl<const N: usize> UnwindSafe for String<N>

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere diff --git a/docs/doc/arduboy_rust/prelude/trait.Printable.html b/docs/doc/arduboy_rust/prelude/trait.Printable.html index 3d45fd7..835ed9e 100644 --- a/docs/doc/arduboy_rust/prelude/trait.Printable.html +++ b/docs/doc/arduboy_rust/prelude/trait.Printable.html @@ -8,4 +8,4 @@ // Provided method fn print(self) { ... } -}

Required Associated Types§

Required Methods§

source

fn print_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn print(self)

Implementations on Foreign Types§

source§

impl Printable for i16

source§

impl Printable for i32

source§

impl Printable for &str

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Printable for u16

source§

impl Printable for &[u8]

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Printable for u32

Implementors§

\ No newline at end of file +}

Required Associated Types§

Required Methods§

source

fn print_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn print(self)

Implementations on Foreign Types§

source§

impl Printable for i16

source§

impl Printable for i32

source§

impl Printable for &str

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Printable for u16

source§

impl Printable for &[u8]

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Printable for u32

Implementors§

source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/struct.Arduboy2.html b/docs/doc/arduboy_rust/struct.Arduboy2.html index 82feb08..26815f5 100644 --- a/docs/doc/arduboy_rust/struct.Arduboy2.html +++ b/docs/doc/arduboy_rust/struct.Arduboy2.html @@ -1,5 +1,5 @@ Arduboy2 in arduboy_rust - Rust

Struct arduboy_rust::Arduboy2

source ·
pub struct Arduboy2 {}
Expand description

This is the struct to interact in a save way with the Arduboy2 C++ library.

-

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

+

Implementations§

source§

impl Arduboy2

source

pub const fn new() -> Self

gives you a new instance of the Arduboy2

Example
const arduboy: Arduboy2 = Arduboy2::new();
source

pub fn begin(&self)

Initialize the hardware, display the boot logo, provide boot utilities, etc. @@ -176,7 +176,7 @@ The contents of the display buffer in RAM are copied to the display and will app

Returns

true if all buttons in the provided mask are currently pressed.

Read the state of the buttons and return true if all of the buttons in the specified mask are being pressed.

-
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

+
source

pub fn print(&self, x: impl Printable)

The Arduino Print class is available for writing text to the screen buffer.

For an Arduboy2 class object, functions provided by the Arduino Print class can be used to write text to the screen buffer, in the same manner as the Arduino Serial.print(), etc., functions.

Print will use the write() function to actually draw each character in the screen buffer, using the library’s font5x7 font. Two character values are handled specially:

    @@ -189,10 +189,11 @@ The contents of the display buffer in RAM are copied to the display and will app arduboy.print(b"Hello World\n\0"[..]); // Prints "Hello World" and then sets the // text cursor to the start of the next line +arduboy.print(f!(b"Hello World\n")); // Prints "Hello World" but does not use the 2kb ram arduboy.print(value); // Prints "42" arduboy.print("\n\0"); // Sets the text cursor to the start of the next line arduboy.print("hello world") // Prints normal [&str]
-
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

+
source

pub fn set_cursor(&self, x: i16, y: i16)

Set the location of the text cursor.

Parameters
  • @@ -203,41 +204,41 @@ arduboy.print(b"Hello World\n\0"[..]);

The location of the text cursor is set the the specified coordinates. The coordinates are in pixels. Since the coordinates can specify any pixel location, the text does not have to be placed on specific rows. As with all drawing functions, location 0, 0 is the top left corner of the display. The cursor location represents the top left corner of the next character written.

-
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

+
source

pub fn set_frame_rate(&self, rate: u8)

Set the frame rate used by the frame control functions.

Parameters
  • rate The desired frame rate in frames per second.

Normally, the frame rate would be set to the desired value once, at the start of the game, but it can be changed at any time to alter the frame update rate.

-
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

+
source

pub fn set_text_size(&self, size: u8)

Set the text character size.

Parameters
  • s The text size multiplier. Must be 1 or higher.

Setting a text size of 1 will result in standard size characters with one pixel for each bit in the bitmap for a character. The value specified is a multiplier. A value of 2 will double the width and height. A value of 3 will triple the dimensions, etc.

-
source

pub fn audio_on(&self)

Turn sound on.

+
source

pub fn audio_on(&self)

Turn sound on.

The system is configured to generate sound. This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_off(&self)

Turn sound off (mute).

+
source

pub fn audio_off(&self)

Turn sound off (mute).

The system is configured to not produce sound (mute). This function sets the sound mode only until the unit is powered off.

-
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

+
source

pub fn audio_save_on_off(&self)

Save the current sound state in EEPROM.

The current sound state, set by on() or off(), is saved to the reserved system area in EEPROM. This allows the state to carry over between power cycles and after uploading a different sketch.

Note EEPROM is limited in the number of times it can be written to. Sketches should not continuously change and then save the state rapidly.

-
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

+
source

pub fn audio_toggle(&self)

Toggle the sound on/off state.

If the system is configured for sound on, it will be changed to sound off (mute). If sound is off, it will be changed to on. This function sets the sound mode only until the unit is powered off. To save the current mode use saveOnOff().

-
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

-
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

+
source

pub fn audio_on_and_save(&self)

Combines the use function of audio_on() and audio_save_on_off()

+
source

pub fn audio_enabled(&self) -> bool

Get the current sound state.

Returns

true if sound is currently enabled (not muted).

This function should be used by code that actually generates sound. If true is returned, sound can be produced. If false is returned, sound should be muted.

-
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

+
source

pub fn invert(&self, inverse: bool)

Invert the entire display or set it back to normal.

Parameters
  • inverse true will invert the display. false will set the display to no-inverted.

Calling this function with a value of true will set the display to inverted mode. A pixel with a value of 0 will be on and a pixel set to 1 will be off.

Once in inverted mode, the display will remain this way until it is set back to non-inverted mode by calling this function with false.

-
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

+
source

pub fn collide_point(&self, point: Point, rect: Rect) -> bool

Test if a point falls within a rectangle.

Parameters

  • point A structure describing the location of the point.
  • @@ -246,7 +247,7 @@ EEPROM is limited in the number of times it can be written to. Sketches should n

    Returns true if the specified point is within the specified rectangle.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with the given point.

    -
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

+
source

pub fn collide_rect(&self, rect1: Rect, rect2: Rect) -> bool

Test if a rectangle is intersecting with another rectangle.

Parameters

  • rect1,rect2 Structures describing the size and locations of the rectangles.
  • @@ -254,14 +255,14 @@ true if the specified point is within the specified rectangle.

    Returns true if the first rectangle is intersecting the second.

    This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with another rectangular object.

    -
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb_single(&self, color: u8, val: u8)

Set one of the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • color The name of the LED to set. The value given should be one of RED_LED, GREEN_LED or BLUE_LED.
  • val Indicates whether to turn the specified LED on or off. The value given should be RGB_ON or RGB_OFF.

This 2 parameter version of the function will set a single LED within the RGB LED either fully on or fully off. See the description of the 3 parameter version of this function for more details on the RGB LED.

-
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

+
source

pub fn digital_write_rgb(&self, red: u8, green: u8, blue: u8)

Set the RGB LEDs digitally, to either fully on or fully off.

Parameters

  • red,green,blue Use value RGB_ON or RGB_OFF to set each LED.
  • @@ -277,7 +278,7 @@ true if the first rectangle is intersecting the second.

    RGB_ON RGB_OFF RGB_ON Magenta RGB_ON RGB_ON RGB_OFF Yellow RGB_ON RGB_ON RGB_ON White -
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

+
source

pub fn every_x_frames(&self, frames: u8) -> bool

Indicate if the specified number of frames has elapsed.

Parameters

  • frames The desired number of elapsed frames.
  • @@ -293,52 +294,52 @@ true if the specified number of frames has elapsed.

    fireShot(); } }
-
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

+
source

pub fn flip_vertical(&self, flipped: bool)

Flip the display vertically or set it back to normal.

Parameters

  • flipped true will set vertical flip mode. false will set normal vertical orientation.

Calling this function with a value of true will cause the Y coordinate to start at the bottom edge of the display instead of the top, effectively flipping the display vertically.

Once in vertical flip mode, it will remain this way until normal vertical mode is set by calling this function with a value of false.

-
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

+
source

pub fn flip_horizontal(&self, flipped: bool)

Flip the display horizontally or set it back to normal.

Parameters

  • flipped true will set horizontal flip mode. false will set normal horizontal orientation.

Calling this function with a value of true will cause the X coordinate to start at the left edge of the display instead of the right, effectively flipping the display horizontally.

Once in horizontal flip mode, it will remain this way until normal horizontal mode is set by calling this function with a value of false.

-
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

+
source

pub fn set_text_color(&self, color: Color)

Set the text foreground color.

Parameters

  • color The color to be used for following text. The values WHITE or BLACK should be used.
-
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

+
source

pub fn set_text_background_color(&self, color: Color)

Set the text background color.

Parameters

  • color The background color to be used for following text. The values WHITE or BLACK should be used.

The background pixels of following characters will be set to the specified color.

However, if the background color is set to be the same as the text color, the background will be transparent. Only the foreground pixels will be drawn. The background pixels will remain as they were before the character was drawn.

-
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

+
source

pub fn set_cursor_x(&self, x: i16)

Set the X coordinate of the text cursor location.

Parameters

  • x The X (horizontal) coordinate, in pixels, for the new location of the text cursor.

The X coordinate for the location of the text cursor is set to the specified value, leaving the Y coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

+
source

pub fn set_cursor_y(&self, y: i16)

Set the Y coordinate of the text cursor location.

Parameters

  • y The Y (vertical) coordinate, in pixels, for the new location of the text cursor.

The Y coordinate for the location of the text cursor is set to the specified value, leaving the X coordinate unchanged. For more details about the text cursor, see the setCursor() function.

-
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

+
source

pub fn set_text_wrap(&self, w: bool)

Set or disable text wrap mode.

Parameters

  • w true enables text wrap mode. false disables it.

Text wrap mode is enabled by specifying true. In wrap mode, if a character to be drawn would end up partially or fully past the right edge of the screen (based on the current text size), it will be placed at the start of the next line. The text cursor will be adjusted accordingly.

If wrap mode is disabled, characters will always be written at the current text cursor position. A character near the right edge of the screen may only be partially displayed and characters drawn at a position past the right edge of the screen will remain off screen.

-
source

pub fn idle(&self)

Idle the CPU to save power.

+
source

pub fn idle(&self)

Idle the CPU to save power.

This puts the CPU in idle sleep mode. You should call this as often as you can for the best power savings. The timer 0 overflow interrupt will wake up the chip every 1ms, so even at 60 FPS a well written app should be able to sleep maybe half the time in between rendering it’s own frames.

Auto Trait Implementations§

§

impl RefUnwindSafe for Arduboy2

§

impl Send for Arduboy2

§

impl Sync for Arduboy2

§

impl Unpin for Arduboy2

§

impl UnwindSafe for Arduboy2

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere diff --git a/docs/doc/implementors/core/cmp/trait.Eq.js b/docs/doc/implementors/core/cmp/trait.Eq.js index d4c92eb..2b2510b 100644 --- a/docs/doc/implementors/core/cmp/trait.Eq.js +++ b/docs/doc/implementors/core/cmp/trait.Eq.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"arduboy_rust":[["impl Eq for Base"],["impl Eq for ButtonSet"],["impl Eq for Color"]], +"arduboy_rust":[["impl Eq for ButtonSet"],["impl Eq for Base"],["impl Eq for Color"]], "byteorder":[["impl Eq for BigEndian"],["impl Eq for LittleEndian"]], "hash32":[["impl<H: Default + Hasher> Eq for BuildHasherDefault<H>"]], "heapless":[["impl<K, V, S, const N: usize> Eq for IndexMap<K, V, S, N>where\n K: Eq + Hash,\n V: Eq,\n S: BuildHasher,"],["impl Eq for LinkedIndexU16"],["impl Eq for LinkedIndexUsize"],["impl Eq for LinkedIndexU8"],["impl<const N: usize> Eq for String<N>"],["impl<T, const N: usize> Eq for Vec<T, N>where\n T: Eq,"],["impl<K, V, const N: usize> Eq for LinearMap<K, V, N>where\n K: Eq,\n V: PartialEq,"]] diff --git a/docs/doc/implementors/core/cmp/trait.Ord.js b/docs/doc/implementors/core/cmp/trait.Ord.js index 44af7be..0dce746 100644 --- a/docs/doc/implementors/core/cmp/trait.Ord.js +++ b/docs/doc/implementors/core/cmp/trait.Ord.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"arduboy_rust":[["impl Ord for ButtonSet"],["impl Ord for Base"],["impl Ord for Color"]], +"arduboy_rust":[["impl Ord for ButtonSet"],["impl Ord for Color"],["impl Ord for Base"]], "byteorder":[["impl Ord for BigEndian"],["impl Ord for LittleEndian"]], "heapless":[["impl Ord for LinkedIndexU8"],["impl<const N: usize> Ord for String<N>"],["impl<T, const N: usize> Ord for Vec<T, N>where\n T: Ord,"],["impl Ord for LinkedIndexUsize"],["impl Ord for LinkedIndexU16"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/doc/implementors/core/hash/trait.Hash.js b/docs/doc/implementors/core/hash/trait.Hash.js index 4b51e9e..6d1ac81 100644 --- a/docs/doc/implementors/core/hash/trait.Hash.js +++ b/docs/doc/implementors/core/hash/trait.Hash.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"arduboy_rust":[["impl Hash for ButtonSet"],["impl Hash for Color"],["impl Hash for Base"]], +"arduboy_rust":[["impl Hash for Base"],["impl Hash for ButtonSet"],["impl Hash for Color"]], "byteorder":[["impl Hash for LittleEndian"],["impl Hash for BigEndian"]], "heapless":[["impl<T, const N: usize> Hash for Vec<T, N>where\n T: Hash,"],["impl<const N: usize> Hash for String<N>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/doc/implementors/core/marker/trait.StructuralPartialEq.js b/docs/doc/implementors/core/marker/trait.StructuralPartialEq.js index 54777a6..11fb3e1 100644 --- a/docs/doc/implementors/core/marker/trait.StructuralPartialEq.js +++ b/docs/doc/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"arduboy_rust":[["impl StructuralPartialEq for ButtonSet"],["impl StructuralPartialEq for Color"],["impl StructuralPartialEq for Base"]], +"arduboy_rust":[["impl StructuralPartialEq for ButtonSet"],["impl StructuralPartialEq for Base"],["impl StructuralPartialEq for Color"]], "byteorder":[["impl StructuralPartialEq for LittleEndian"],["impl StructuralPartialEq for BigEndian"]], "heapless":[["impl StructuralPartialEq for LinkedIndexUsize"],["impl StructuralPartialEq for LinkedIndexU8"],["impl StructuralPartialEq for LinkedIndexU16"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/doc/search-index.js b/docs/doc/search-index.js index f02cb15..cae6112 100644 --- a/docs/doc/search-index.js +++ b/docs/doc/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"arduboy_rust":{"doc":"This is the arduboy_rust crate To get started import the …","t":"DDNEDDRRRNAAAAOOOOAAOADNERRDDRNMMMMMMDARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRFFFFAARRRRDRRRRRRRRMLLLLRRRRRDDEGGDDDDNDDDNDDLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDIEEDLLLLLLLLLLLLLLLLLLLLLLLLLDDIDDDDDDDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLRRDDRRRENNDERRNDDRRRNRRDNQDIRRRRRDDRRDRNAALLLLLLLLLAGGGGGGGGGGGLLLLFKFLLOMLLLLLLLLOOOLLMLLLLLLALLLLLLKOLFFLAFLLLLLLLLLLLLLMLMMMMDNERRDDRNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMDALLLLLLLLLLLLLLLLRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRDRRRRRRRRMRRRRRFFFFFFFFFF","n":["Arduboy2","ArduboyTones","Black","Color","EEPROM","EEPROMBYTE","FONT_SIZE","HEIGHT","WIDTH","White","arduboy2","arduboy_tone","arduino","c","f","get_sprite_addr","get_string_addr","get_tones_addr","hardware","prelude","progmem","sprites","Arduboy2","Black","Color","FONT_SIZE","HEIGHT","Point","Rect","WIDTH","White","height","width","x","x","y","y","ArduboyTones","arduboy_tone_pitch","NOTE_A0","NOTE_A0H","NOTE_A1","NOTE_A1H","NOTE_A2","NOTE_A2H","NOTE_A3","NOTE_A3H","NOTE_A4","NOTE_A4H","NOTE_A5","NOTE_A5H","NOTE_A6","NOTE_A6H","NOTE_A7","NOTE_A7H","NOTE_A8","NOTE_A8H","NOTE_A9","NOTE_A9H","NOTE_AS0","NOTE_AS0H","NOTE_AS1","NOTE_AS1H","NOTE_AS2","NOTE_AS2H","NOTE_AS3","NOTE_AS3H","NOTE_AS4","NOTE_AS4H","NOTE_AS5","NOTE_AS5H","NOTE_AS6","NOTE_AS6H","NOTE_AS7","NOTE_AS7H","NOTE_AS8","NOTE_AS8H","NOTE_AS9","NOTE_AS9H","NOTE_B0","NOTE_B0H","NOTE_B1","NOTE_B1H","NOTE_B2","NOTE_B2H","NOTE_B3","NOTE_B3H","NOTE_B4","NOTE_B4H","NOTE_B5","NOTE_B5H","NOTE_B6","NOTE_B6H","NOTE_B7","NOTE_B7H","NOTE_B8","NOTE_B8H","NOTE_B9","NOTE_B9H","NOTE_C0","NOTE_C0H","NOTE_C1","NOTE_C1H","NOTE_C2","NOTE_C2H","NOTE_C3","NOTE_C3H","NOTE_C4","NOTE_C4H","NOTE_C5","NOTE_C5H","NOTE_C6","NOTE_C6H","NOTE_C7","NOTE_C7H","NOTE_C8","NOTE_C8H","NOTE_C9","NOTE_C9H","NOTE_CS0","NOTE_CS0H","NOTE_CS1","NOTE_CS1H","NOTE_CS2","NOTE_CS2H","NOTE_CS3","NOTE_CS3H","NOTE_CS4","NOTE_CS4H","NOTE_CS5","NOTE_CS5H","NOTE_CS6","NOTE_CS6H","NOTE_CS7","NOTE_CS7H","NOTE_CS8","NOTE_CS8H","NOTE_CS9","NOTE_CS9H","NOTE_D0","NOTE_D0H","NOTE_D1","NOTE_D1H","NOTE_D2","NOTE_D2H","NOTE_D3","NOTE_D3H","NOTE_D4","NOTE_D4H","NOTE_D5","NOTE_D5H","NOTE_D6","NOTE_D6H","NOTE_D7","NOTE_D7H","NOTE_D8","NOTE_D8H","NOTE_D9","NOTE_D9H","NOTE_DS0","NOTE_DS0H","NOTE_DS1","NOTE_DS1H","NOTE_DS2","NOTE_DS2H","NOTE_DS3","NOTE_DS3H","NOTE_DS4","NOTE_DS4H","NOTE_DS5","NOTE_DS5H","NOTE_DS6","NOTE_DS6H","NOTE_DS7","NOTE_DS7H","NOTE_DS8","NOTE_DS8H","NOTE_DS9","NOTE_DS9H","NOTE_E0","NOTE_E0H","NOTE_E1","NOTE_E1H","NOTE_E2","NOTE_E2H","NOTE_E3","NOTE_E3H","NOTE_E4","NOTE_E4H","NOTE_E5","NOTE_E5H","NOTE_E6","NOTE_E6H","NOTE_E7","NOTE_E7H","NOTE_E8","NOTE_E8H","NOTE_E9","NOTE_E9H","NOTE_F0","NOTE_F0H","NOTE_F1","NOTE_F1H","NOTE_F2","NOTE_F2H","NOTE_F3","NOTE_F3H","NOTE_F4","NOTE_F4H","NOTE_F5","NOTE_F5H","NOTE_F6","NOTE_F6H","NOTE_F7","NOTE_F7H","NOTE_F8","NOTE_F8H","NOTE_F9","NOTE_F9H","NOTE_FS0","NOTE_FS0H","NOTE_FS1","NOTE_FS1H","NOTE_FS2","NOTE_FS2H","NOTE_FS3","NOTE_FS3H","NOTE_FS4","NOTE_FS4H","NOTE_FS5","NOTE_FS5H","NOTE_FS6","NOTE_FS6H","NOTE_FS7","NOTE_FS7H","NOTE_FS8","NOTE_FS8H","NOTE_FS9","NOTE_FS9H","NOTE_G0","NOTE_G0H","NOTE_G1","NOTE_G1H","NOTE_G2","NOTE_G2H","NOTE_G3","NOTE_G3H","NOTE_G4","NOTE_G4H","NOTE_G5","NOTE_G5H","NOTE_G6","NOTE_G6H","NOTE_G7","NOTE_G7H","NOTE_G8","NOTE_G8H","NOTE_G9","NOTE_G9H","NOTE_GS0","NOTE_GS0H","NOTE_GS1","NOTE_GS1H","NOTE_GS2","NOTE_GS2H","NOTE_GS3","NOTE_GS3H","NOTE_GS4","NOTE_GS4H","NOTE_GS5","NOTE_GS5H","NOTE_GS6","NOTE_GS6H","NOTE_GS7","NOTE_GS7H","NOTE_GS8","NOTE_GS8H","NOTE_GS9","NOTE_GS9H","NOTE_REST","TONES_END","TONES_REPEAT","TONE_HIGH_VOLUME","VOLUME_ALWAYS_HIGH","VOLUME_ALWAYS_NORMAL","VOLUME_IN_TONE","delay","random_between","random_less_than","strlen","buttons","led","A","A_BUTTON","B","B_BUTTON","ButtonSet","DOWN","DOWN_BUTTON","LEFT","LEFT_BUTTON","RIGHT","RIGHT_BUTTON","UP","UP_BUTTON","flag_set","just_pressed","just_released","not_pressed","pressed","BLUE_LED","GREEN_LED","RED_LED","RGB_OFF","RGB_ON","BinaryHeap","Deque","Entry","FnvIndexMap","FnvIndexSet","HistoryBuffer","IndexMap","IndexSet","LinearMap","Occupied","OccupiedEntry","OldestOrdered","String","Vacant","VacantEntry","Vec","as_mut","as_mut","as_mut_ptr","as_mut_slices","as_mut_str","as_mut_vec","as_ptr","as_ref","as_ref","as_ref","as_ref","as_ref","as_slice","as_slice","as_slices","as_str","back","back_mut","binary_heap","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","capacity","capacity","capacity","capacity","capacity","capacity","capacity","capacity","clear","clear","clear","clear","clear","clear","clear","clear","clear_with","clone","clone","clone","clone","clone","clone","clone","clone","cmp","cmp","contains","contains_key","contains_key","default","default","default","default","default","default","default","default","deref","deref","deref","deref_mut","deref_mut","difference","drop","drop","drop","drop","ends_with","entry","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend_from_slice","extend_from_slice","first","first","first_mut","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_slice","from_str","front","front_mut","get","get","get","get_mut","get_mut","get_mut","hash","hash","hash","hash","index","index","index_mut","index_mut","insert","insert","insert","insert","insert","insert","intersection","into","into","into","into","into","into","into","into","into","into","into","into","into_array","into_bytes","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_key","into_mut","into_vec","is_disjoint","is_empty","is_empty","is_empty","is_empty","is_empty","is_empty","is_full","is_full","is_subset","is_superset","iter","iter","iter","iter","iter","iter_mut","iter_mut","iter_mut","iter_mut","key","key","keys","keys","last","last","last_mut","len","len","len","len","len","len","ne","ne","ne","new","new","new","new","new","new","new","new","new_with","next","oldest_ordered","partial_cmp","partial_cmp","peek","peek_mut","pop","pop","pop","pop_back","pop_back_unchecked","pop_front","pop_front_unchecked","pop_unchecked","pop_unchecked","push","push","push","push_back","push_back_unchecked","push_front","push_front_unchecked","push_str","push_unchecked","push_unchecked","recent","remove","remove","remove","remove","remove","remove_entry","resize","resize_default","retain","retain_mut","set_len","sorted_linked_list","starts_with","swap_remove","swap_remove","swap_remove_unchecked","symmetric_difference","truncate","truncate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","union","values","values","values_mut","values_mut","write","write_char","write_str","write_str","BinaryHeap","Kind","Max","Min","PeekMut","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","deref","deref_mut","drop","from","from","from","into","into","into","pop","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","FindMut","Iter","Kind","LinkedIndexU16","LinkedIndexU8","LinkedIndexUsize","Max","Min","Node","SortedLinkedList","SortedLinkedListIndex","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","cmp","cmp","cmp","deref","deref_mut","drop","drop","eq","eq","eq","find_mut","finish","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into_iter","is_empty","is_full","iter","new_u16","new_u8","new_usize","next","partial_cmp","partial_cmp","partial_cmp","peek","pop","pop","pop_unchecked","push","push_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","A","A_BUTTON","Arduboy2","ArduboyTones","B","BLUE_LED","B_BUTTON","Base","Bin","Black","ButtonSet","Color","DOWN","DOWN_BUTTON","Dec","EEPROM","EEPROMBYTE","FONT_SIZE","GREEN_LED","HEIGHT","Hex","LEFT","LEFT_BUTTON","LinearMap","Oct","Parameters","Point","Printable","RED_LED","RGB_OFF","RGB_ON","RIGHT","RIGHT_BUTTON","Rect","String","UP","UP_BUTTON","Vec","WIDTH","White","arduboy2","arduboy_tone","bitor","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","buttons","c_char","c_double","c_float","c_int","c_long","c_longlong","c_size_t","c_uchar","c_uint","c_ulong","c_ulonglong","clone","clone","cmp","cmp","constrain","default_parameters","delay","eq","eq","f","flag_set","fmt","fmt","from","from","from","from","get","get_direct","get_sprite_addr","get_string_addr","get_tones_addr","hash","hash","height","init","init","into","into","into","into","led","new","new","partial_cmp","partial_cmp","print","print","print_2","progmem","put","random_between","random_less_than","read","sprites","strlen","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","update","width","write","x","x","y","y","Arduboy2","Black","Color","FONT_SIZE","HEIGHT","Point","Rect","WIDTH","White","audio_enabled","audio_off","audio_on","audio_on_and_save","audio_save_on_off","audio_toggle","begin","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clear","clone","cmp","collide_point","collide_rect","digital_write_rgb","digital_write_rgb_single","display","display_and_clear_buffer","draw_circle","draw_fast_hline","draw_fast_vline","draw_pixel","draw_rect","draw_round_rect","draw_triangle","eq","every_x_frames","fill_circle","fill_rect","fill_round_rect","fill_triangle","flip_horizontal","flip_vertical","fmt","from","from","from","from","get_pixel","hash","height","idle","init_random_seed","into","into","into","into","invert","just_pressed","just_released","new","next_frame","not","not_pressed","partial_cmp","poll_buttons","pressed","print","set_cursor","set_cursor_x","set_cursor_y","set_frame_rate","set_text_background_color","set_text_color","set_text_size","set_text_wrap","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","width","x","x","y","y","ArduboyTones","arduboy_tone_pitch","borrow","borrow_mut","from","into","new","no_tone","playing","tone","tone2","tone3","tones","tones_in_ram","try_from","try_into","type_id","volume_mode","NOTE_A0","NOTE_A0H","NOTE_A1","NOTE_A1H","NOTE_A2","NOTE_A2H","NOTE_A3","NOTE_A3H","NOTE_A4","NOTE_A4H","NOTE_A5","NOTE_A5H","NOTE_A6","NOTE_A6H","NOTE_A7","NOTE_A7H","NOTE_A8","NOTE_A8H","NOTE_A9","NOTE_A9H","NOTE_AS0","NOTE_AS0H","NOTE_AS1","NOTE_AS1H","NOTE_AS2","NOTE_AS2H","NOTE_AS3","NOTE_AS3H","NOTE_AS4","NOTE_AS4H","NOTE_AS5","NOTE_AS5H","NOTE_AS6","NOTE_AS6H","NOTE_AS7","NOTE_AS7H","NOTE_AS8","NOTE_AS8H","NOTE_AS9","NOTE_AS9H","NOTE_B0","NOTE_B0H","NOTE_B1","NOTE_B1H","NOTE_B2","NOTE_B2H","NOTE_B3","NOTE_B3H","NOTE_B4","NOTE_B4H","NOTE_B5","NOTE_B5H","NOTE_B6","NOTE_B6H","NOTE_B7","NOTE_B7H","NOTE_B8","NOTE_B8H","NOTE_B9","NOTE_B9H","NOTE_C0","NOTE_C0H","NOTE_C1","NOTE_C1H","NOTE_C2","NOTE_C2H","NOTE_C3","NOTE_C3H","NOTE_C4","NOTE_C4H","NOTE_C5","NOTE_C5H","NOTE_C6","NOTE_C6H","NOTE_C7","NOTE_C7H","NOTE_C8","NOTE_C8H","NOTE_C9","NOTE_C9H","NOTE_CS0","NOTE_CS0H","NOTE_CS1","NOTE_CS1H","NOTE_CS2","NOTE_CS2H","NOTE_CS3","NOTE_CS3H","NOTE_CS4","NOTE_CS4H","NOTE_CS5","NOTE_CS5H","NOTE_CS6","NOTE_CS6H","NOTE_CS7","NOTE_CS7H","NOTE_CS8","NOTE_CS8H","NOTE_CS9","NOTE_CS9H","NOTE_D0","NOTE_D0H","NOTE_D1","NOTE_D1H","NOTE_D2","NOTE_D2H","NOTE_D3","NOTE_D3H","NOTE_D4","NOTE_D4H","NOTE_D5","NOTE_D5H","NOTE_D6","NOTE_D6H","NOTE_D7","NOTE_D7H","NOTE_D8","NOTE_D8H","NOTE_D9","NOTE_D9H","NOTE_DS0","NOTE_DS0H","NOTE_DS1","NOTE_DS1H","NOTE_DS2","NOTE_DS2H","NOTE_DS3","NOTE_DS3H","NOTE_DS4","NOTE_DS4H","NOTE_DS5","NOTE_DS5H","NOTE_DS6","NOTE_DS6H","NOTE_DS7","NOTE_DS7H","NOTE_DS8","NOTE_DS8H","NOTE_DS9","NOTE_DS9H","NOTE_E0","NOTE_E0H","NOTE_E1","NOTE_E1H","NOTE_E2","NOTE_E2H","NOTE_E3","NOTE_E3H","NOTE_E4","NOTE_E4H","NOTE_E5","NOTE_E5H","NOTE_E6","NOTE_E6H","NOTE_E7","NOTE_E7H","NOTE_E8","NOTE_E8H","NOTE_E9","NOTE_E9H","NOTE_F0","NOTE_F0H","NOTE_F1","NOTE_F1H","NOTE_F2","NOTE_F2H","NOTE_F3","NOTE_F3H","NOTE_F4","NOTE_F4H","NOTE_F5","NOTE_F5H","NOTE_F6","NOTE_F6H","NOTE_F7","NOTE_F7H","NOTE_F8","NOTE_F8H","NOTE_F9","NOTE_F9H","NOTE_FS0","NOTE_FS0H","NOTE_FS1","NOTE_FS1H","NOTE_FS2","NOTE_FS2H","NOTE_FS3","NOTE_FS3H","NOTE_FS4","NOTE_FS4H","NOTE_FS5","NOTE_FS5H","NOTE_FS6","NOTE_FS6H","NOTE_FS7","NOTE_FS7H","NOTE_FS8","NOTE_FS8H","NOTE_FS9","NOTE_FS9H","NOTE_G0","NOTE_G0H","NOTE_G1","NOTE_G1H","NOTE_G2","NOTE_G2H","NOTE_G3","NOTE_G3H","NOTE_G4","NOTE_G4H","NOTE_G5","NOTE_G5H","NOTE_G6","NOTE_G6H","NOTE_G7","NOTE_G7H","NOTE_G8","NOTE_G8H","NOTE_G9","NOTE_G9H","NOTE_GS0","NOTE_GS0H","NOTE_GS1","NOTE_GS1H","NOTE_GS2","NOTE_GS2H","NOTE_GS3","NOTE_GS3H","NOTE_GS4","NOTE_GS4H","NOTE_GS5","NOTE_GS5H","NOTE_GS6","NOTE_GS6H","NOTE_GS7","NOTE_GS7H","NOTE_GS8","NOTE_GS8H","NOTE_GS9","NOTE_GS9H","NOTE_REST","TONES_END","TONES_REPEAT","TONE_HIGH_VOLUME","VOLUME_ALWAYS_HIGH","VOLUME_ALWAYS_NORMAL","VOLUME_IN_TONE","A","A_BUTTON","B","B_BUTTON","ButtonSet","DOWN","DOWN_BUTTON","LEFT","LEFT_BUTTON","RIGHT","RIGHT_BUTTON","UP","UP_BUTTON","flag_set","BLUE_LED","GREEN_LED","RED_LED","RGB_OFF","RGB_ON","draw_erase","draw_external_mask","draw_override","draw_plus_mask","draw_self_masked","draw_erase","draw_external_mask","draw_override","draw_plus_mask","draw_self_masked"],"q":[[0,"arduboy_rust"],[22,"arduboy_rust::arduboy2"],[37,"arduboy_rust::arduboy_tone"],[39,"arduboy_rust::arduboy_tone::arduboy_tone_pitch"],[286,"arduboy_rust::arduino"],[289,"arduboy_rust::c"],[290,"arduboy_rust::hardware"],[292,"arduboy_rust::hardware::buttons"],[310,"arduboy_rust::hardware::led"],[315,"arduboy_rust::heapless"],[678,"arduboy_rust::heapless::binary_heap"],[708,"arduboy_rust::heapless::sorted_linked_list"],[818,"arduboy_rust::prelude"],[946,"arduboy_rust::prelude::arduboy2"],[1044,"arduboy_rust::prelude::arduboy_tone"],[1062,"arduboy_rust::prelude::arduboy_tone::arduboy_tone_pitch"],[1309,"arduboy_rust::prelude::buttons"],[1323,"arduboy_rust::prelude::led"],[1328,"arduboy_rust::prelude::sprites"],[1333,"arduboy_rust::sprites"]],"d":["This is the struct to interact in a save way with the …","This is the struct to interact in a save way with the …","Led is off","This item is to chose between Black or White","This is the struct to store and read structs objects …","Use this struct to store and read single bytes to/from …","The standard font size of the arduboy","The standard height of the arduboy","The standard width of the arduboy","Led is on","This is the Module to interact in a save way with the …","This is the Module to interact in a save way with the …","This is the Module to interact in a save way with the …","Clib functions you can use on the Arduboy","This is the way to go if you want print some random text","Create a const raw pointer to a sprite as u8, without …","Create a const raw pointer to a [u8;_] that saves text, …","Create a const raw pointer to a sprite as u16, without …","This is the Module to interact in a save way with the …","This is the important one to use this library effective in …","Create a space for Progmem variable","This is the module to interact in a save way with the …","This is the struct to interact in a save way with the …","Led is off","This item is to chose between Black or White","The standard font size of the arduboy","The standard height of the arduboy","This struct is used by a few Arduboy functions.","This struct is used by a few Arduboy functions.","The standard width of the arduboy","Led is on","Rect height","Rect width","Position X","Position X","Position Y","Position Y","This is the struct to interact in a save way with the …","A list of all tones available and used by the Sounds …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Arduino function to pause the cpu circles for a given …","A Arduino function to get a random number between 2 numbers","A Arduino function to get a random number smaller than the …","A C function to get the length of a string","A list of all six buttons available on the Arduboy","A list of all LED variables available","Just a const for the A button","Just a const for the A button","Just a const for the B button","Just a const for the B button","This struct gives the library a understanding what Buttons …","Just a const for the DOWN button","Just a const for the DOWN button","Just a const for the LEFT button","Just a const for the LEFT button","Just a const for the RIGHT button","Just a const for the RIGHT button","Just a const for the UP button","Just a const for the UP button","","","","","","Just a const for the blue led","Just a const for the green led","Just a const for the red led","Just a const for led off","Just a const for led on","A priority queue implemented with a binary heap.","A fixed capacity double-ended queue.","A view into an entry in the map","A heapless::IndexMap using the default FNV hasher","A heapless::IndexSet using the default FNV hasher. A list …","A “history buffer”, similar to a write-only ring …","Fixed capacity IndexMap","Fixed capacity IndexSet.","A fixed capacity map / dictionary that performs lookups …","The entry corresponding to the key K exists in the map","An occupied entry which can be manipulated","An iterator on the underlying buffer ordered from oldest …","A fixed capacity String","The entry corresponding to the key K does not exist in the …","A view into an empty slot in the underlying map","A fixed capacity Vec","","","Returns a raw pointer to the vector’s buffer, which may …","Returns a pair of mutable slices which contain, in order, …","Converts a String into a mutable string slice.","Returns a mutable reference to the contents of this String.","Returns a raw pointer to the vector’s buffer.","","","","","","Returns the array slice backing the buffer, without …","Extracts a slice containing the entire vector.","Returns a pair of slices which contain, in order, the …","Extracts a string slice containing the entire string.","Provides a reference to the back element, or None if the …","Provides a mutable reference to the back element, or None …","A priority queue implemented with a binary heap.","","","","","","","","","","","","","","","","","","","","","","","","","Returns the maximum number of elements the deque can hold.","Returns the capacity of the buffer, which is the length of …","Returns the number of elements the map can hold","Returns the number of elements the set can hold","Returns the number of elements that the map can hold","Returns the maximum number of elements the String can hold","Returns the maximum number of elements the vector can hold.","Returns the capacity of the binary heap.","Clears the deque, removing all values.","Clears the buffer, replacing every element with the …","Remove all key-value pairs in the map, while preserving …","Clears the set, removing all values.","Clears the map, removing all key-value pairs","Truncates this String, removing all contents.","Clears the vector, removing all values.","Drops all items from the binary heap.","Clears the buffer, replacing every element with the given …","","","","","","","","","","","Returns true if the set contains a value.","Returns true if the map contains a value for the specified …","Returns true if the map contains a value for the specified …","","","","","","","","","","","","","","Visits the values representing the difference, i.e. the …","","","","","Returns true if needle is a suffix of the Vec.","Returns an entry for the corresponding key","","","","","","","","","","","","","","","","","","","","","Extends the vec from an iterator.","Clones and writes all elements in a slice to the buffer.","Clones and appends all elements in a slice to the Vec.","Get the first key-value pair","Get the first value","Get the first key-value pair, with mutable access to the …","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","Constructs a new vector with a fixed capacity of N and …","","Provides a reference to the front element, or None if the …","Provides a mutable reference to the front element, or None …","Gets a reference to the value associated with this entry","Returns a reference to the value corresponding to the key.","Returns a reference to the value corresponding to the key","Gets a mutable reference to the value associated with this …","Returns a mutable reference to the value corresponding to …","Returns a mutable reference to the value corresponding to …","","","","","","","","","Overwrites the underlying map’s value with this entry’…","Inserts this entry into to underlying map, yields a …","Inserts a key-value pair into the map.","Adds a value to the set.","Inserts a key-value pair into the map.","Inserts an element at position index within the vector, …","Visits the values representing the intersection, i.e. the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the contents of the vector as an array of length M …","Converts a String into a byte vector.","","","","","","","","","","","","","","Consumes this entry to yield to key associated with it","Consumes this entry and yields a reference to the …","Returns the underlying Vec<T,N>. Order is arbitrary and …","Returns true if self has no elements in common with other. …","Returns whether the deque is empty.","Returns true if the map contains no elements.","Returns true if the set contains no elements.","Returns true if the map contains no elements","Returns true if the vec is empty","Checks if the binary heap is empty.","Returns whether the deque is full (i.e. if …","Returns true if the vec is full","Returns true if the set is a subset of another, i.e. other …","Examples","Returns an iterator over the deque.","Return an iterator over the key-value pairs of the map, in …","Return an iterator over the values of the set, in their …","An iterator visiting all key-value pairs in arbitrary …","Returns an iterator visiting all values in the underlying …","Returns an iterator that allows modifying each value.","Return an iterator over the key-value pairs of the map, in …","An iterator visiting all key-value pairs in arbitrary …","Returns a mutable iterator visiting all values in the …","Gets a reference to the key that this entity corresponds to","Get the key associated with this entry","Return an iterator over the keys of the map, in their order","An iterator visiting all keys in arbitrary order","Get the last key-value pair","Get the last value","Get the last key-value pair, with mutable access to the …","Returns the number of elements currently in the deque.","Returns the current fill level of the buffer.","Return the number of key-value pairs in the map.","Returns the number of elements in the set.","Returns the number of elements in this map","Returns the length of the binary heap.","","","","Constructs a new, empty deque with a fixed capacity of N","Constructs a new history buffer.","Creates an empty IndexMap.","Creates an empty IndexSet","Creates an empty LinearMap","Constructs a new, empty String with a fixed capacity of N …","Constructs a new, empty vector with a fixed capacity of N","Creates an empty BinaryHeap as a $K-heap.","Constructs a new history buffer, where every element is …","","Returns an iterator for iterating over the buffer from …","","","Returns the top (greatest if max-heap, smallest if …","Returns a mutable reference to the greatest item in the …","Removes the last character from the string buffer and …","Removes the last element from a vector and returns it, or …","Removes the top (greatest if max-heap, smallest if …","Removes the item from the back of the deque and returns …","Removes an item from the back of the deque and returns it, …","Removes the item from the front of the deque and returns …","Removes an item from the front of the deque and returns …","Removes the last element from a vector and returns it","Removes the top (greatest if max-heap, smallest if …","Appends the given char to the end of this String.","Appends an item to the back of the collection","Pushes an item onto the binary heap.","Appends an item to the back of the deque","Appends an item to the back of the deque","Appends an item to the front of the deque","Appends an item to the front of the deque","Appends a given string slice onto the end of this String.","Appends an item to the back of the collection","Pushes an item onto the binary heap without first checking …","Returns a reference to the most recently written value.","Removes this entry from the map and yields its value","Same as swap_remove","Removes a value from the set. Returns true if the value …","Removes a key from the map, returning the value at the key …","Removes and returns the element at position index within …","Removes this entry from the map and yields its …","Resizes the Vec in-place so that len is equal to new_len.","Resizes the Vec in-place so that len is equal to new_len.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate, …","Forces the length of the vector to new_len.","A fixed sorted priority linked list, similar to BinaryHeap …","Returns true if needle is a prefix of the Vec.","Remove the key-value pair equivalent to key and return its …","Removes an element from the vector and returns it.","Removes an element from the vector and returns it.","Visits the values representing the symmetric difference, …","Shortens this String to the specified length.","Shortens the vector, keeping the first len elements and …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Visits the values representing the union, i.e. all the …","Return an iterator over the values of the map, in their …","An iterator visiting all values in arbitrary order","Return an iterator over mutable references to the the …","An iterator visiting all values mutably in arbitrary order","Writes an element to the buffer, overwriting the oldest …","","","","A priority queue implemented with a binary heap.","The binary heap kind: min-heap or max-heap","Max-heap","Min-heap","Structure wrapping a mutable reference to the greatest …","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Removes the peeked value from the heap and returns it.","","","","","","","","","","Comes from SortedLinkedList::find_mut.","Iterator for the linked list.","The linked list kind: min-list or max-list","Index for the SortedLinkedList with specific backing …","Index for the SortedLinkedList with specific backing …","Index for the SortedLinkedList with specific backing …","Marker for Max sorted SortedLinkedList.","Marker for Min sorted SortedLinkedList.","A node in the SortedLinkedList.","The linked list.","Trait for defining an index for the linked list, never …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Find an element in the list that can be changed and …","This will resort the element into the correct position in …","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Checks if the linked list is empty.","Checks if the linked list is full.","Get an iterator over the sorted list.","Create a new linked list.","Create a new linked list.","Create a new linked list.","","","","","Peek at the first element.","Pops the first element in the list.","This will pop the element from the list.","Pop an element from the list without checking so the list …","Pushes an element to the linked list and sorts it into …","Pushes a value onto the list without checking if the list …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Just a const for the A button","Just a const for the A button","This is the struct to interact in a save way with the …","This is the struct to interact in a save way with the …","Just a const for the B button","Just a const for the blue led","Just a const for the B button","","","Led is off","This struct gives the library a understanding what Buttons …","This item is to chose between Black or White","Just a const for the DOWN button","Just a const for the DOWN button","","This is the struct to store and read structs objects …","Use this struct to store and read single bytes to/from …","The standard font size of the arduboy","Just a const for the green led","The standard height of the arduboy","","Just a const for the LEFT button","Just a const for the LEFT button","A fixed capacity map / dictionary that performs lookups …","","","This struct is used by a few Arduboy functions.","","Just a const for the red led","Just a const for led off","Just a const for led on","Just a const for the RIGHT button","Just a const for the RIGHT button","This struct is used by a few Arduboy functions.","A fixed capacity String","Just a const for the UP button","Just a const for the UP button","A fixed capacity Vec","The standard width of the arduboy","Led is on","This is the Module to interact in a save way with the …","This is the Module to interact in a save way with the …","","","","","","","","","","A list of all six buttons available on the Arduboy","Equivalent to C’s char type.","Equivalent to C’s double type.","Equivalent to C’s float type.","Equivalent to C’s signed int (int) type.","Equivalent to C’s signed long (long) type.","Equivalent to C’s signed long long (long long) type.","Equivalent to C’s size_t type, from stddef.h (or cstddef …","Equivalent to C’s unsigned char type.","Equivalent to C’s unsigned int type.","Equivalent to C’s unsigned long type.","Equivalent to C’s unsigned long long type.","","","","","","","A Arduino function to pause the cpu circles for a given …","","","This is the way to go if you want print some random text","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Create a const raw pointer to a sprite as u8, without …","Create a const raw pointer to a [u8;_] that saves text, …","Create a const raw pointer to a sprite as u16, without …","","","Rect height","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","A list of all LED variables available","","","","","","","","Create a space for Progmem variable","","A Arduino function to get a random number between 2 numbers","A Arduino function to get a random number smaller than the …","","This is the module to interact in a save way with the …","A C function to get the length of a string","","","","","","","","","","","","","","Rect width","","Position X","Position X","Position Y","Position Y","This is the struct to interact in a save way with the …","Led is off","This item is to chose between Black or White","The standard font size of the arduboy","The standard height of the arduboy","This struct is used by a few Arduboy functions.","This struct is used by a few Arduboy functions.","The standard width of the arduboy","Led is on","Get the current sound state.","Turn sound off (mute).","Turn sound on.","Combines the use function of audio_on() and …","Save the current sound state in EEPROM.","Toggle the sound on/off state.","Initialize the hardware, display the boot logo, provide …","","","","","","","","","Clear the display buffer and set the text cursor to …","","","Test if a point falls within a rectangle.","Test if a rectangle is intersecting with another rectangle.","Set the RGB LEDs digitally, to either fully on or fully …","Set one of the RGB LEDs digitally, to either fully on or …","Copy the contents of the display buffer to the display. …","Copy the contents of the display buffer to the display. …","Draw a circle of a given radius.","Draw a horizontal line.","Draw a vertical line.","Set a single pixel in the display buffer to the specified …","Draw a rectangle of a specified width and height.","Draw a rectangle with rounded corners.","Draw a triangle given the coordinates of each corner.","","Indicate if the specified number of frames has elapsed.","Draw a filled-in circle of a given radius.","Draw a filled-in rectangle of a specified width and height.","Draw a filled-in rectangle with rounded corners.","Draw a filled-in triangle given the coordinates of each …","Flip the display horizontally or set it back to normal.","Flip the display vertically or set it back to normal.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the state of the given pixel in the screen buffer.","","Rect height","Idle the CPU to save power.","Seed the random number generator with a random value.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invert the entire display or set it back to normal.","Check if a button has just been pressed.","Check if a button has just been released.","gives you a new instance of the Arduboy2","Indicate that it’s time to render the next frame.","","Test if the specified buttons are not pressed.","","Poll the buttons and track their state over time.","Test if the all of the specified buttons are pressed.","The Arduino Print class is available for writing text to …","Set the location of the text cursor.","Set the X coordinate of the text cursor location.","Set the Y coordinate of the text cursor location.","Set the frame rate used by the frame control functions.","Set the text background color.","Set the text foreground color.","Set the text character size.","Set or disable text wrap mode.","","","","","","","","","","","","","Rect width","Position X","Position X","Position Y","Position Y","This is the struct to interact in a save way with the …","A list of all tones available and used by the Sounds …","","","Returns the argument unchanged.","Calls U::from(self).","Get a new instance of ArduboyTones","Stop playing the tone or sequence.","Check if a tone or tone sequence is playing.","Play a single tone.","Play two tones in sequence.","Play three tones in sequence.","Play a tone sequence from frequency/duration pairs in a …","Play a tone sequence from frequency/duration pairs in an …","","","","Set the volume to always normal, always high, or tone …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Just a const for the A button","Just a const for the A button","Just a const for the B button","Just a const for the B button","This struct gives the library a understanding what Buttons …","Just a const for the DOWN button","Just a const for the DOWN button","Just a const for the LEFT button","Just a const for the LEFT button","Just a const for the RIGHT button","Just a const for the RIGHT button","Just a const for the UP button","Just a const for the UP button","","Just a const for the blue led","Just a const for the green led","Just a const for the red led","Just a const for led off","Just a const for led on","“Erase” a sprite.","Draw a sprite using a separate image and mask array.","Draw a sprite by replacing the existing content completely.","Draw a sprite using an array containing both image and …","Draw a sprite using only the bits set to 1.","“Erase” a sprite.","Draw a sprite using a separate image and mask array.","Draw a sprite by replacing the existing content completely.","Draw a sprite using an array containing both image and …","Draw a sprite using only the bits set to 1."],"i":[0,0,79,0,0,0,0,0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0,0,0,0,0,0,79,81,81,81,80,81,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33,0,0,0,33,0,0,7,7,7,9,10,10,7,13,10,10,7,7,13,7,9,10,9,9,0,9,13,33,44,48,18,19,20,10,7,23,26,9,13,33,44,48,18,19,20,10,7,23,26,9,13,18,19,20,10,7,23,9,13,18,19,20,10,7,23,13,9,18,19,20,10,7,23,26,10,7,19,18,20,9,13,18,19,20,10,7,23,13,10,7,10,7,19,9,13,20,7,7,18,18,19,20,10,10,10,7,7,7,7,7,7,13,13,18,18,19,19,7,7,7,13,7,18,19,18,9,13,18,19,20,10,10,7,23,9,13,33,44,48,18,19,20,10,10,10,10,10,10,10,10,10,10,7,23,26,18,19,20,10,10,10,7,7,10,9,9,44,18,20,44,18,20,10,10,7,7,18,20,18,20,44,48,18,19,20,7,19,9,13,33,44,48,18,19,20,10,7,23,26,7,10,9,9,9,18,18,18,19,20,7,7,7,23,26,48,44,23,19,9,18,19,20,7,23,9,7,19,19,9,18,19,20,23,9,18,20,23,44,48,18,20,18,19,18,9,13,18,19,20,23,10,10,10,9,13,18,19,20,10,7,23,13,26,13,10,7,23,23,10,7,23,9,9,9,9,7,23,10,7,23,9,9,9,9,10,7,23,13,44,18,19,20,7,44,7,7,7,7,7,0,7,18,7,7,19,10,7,9,13,33,44,48,18,19,20,10,7,7,23,26,9,13,33,44,48,18,19,20,10,7,23,26,9,13,33,44,48,18,19,20,10,7,23,26,19,18,20,18,20,13,10,10,7,0,0,0,0,0,84,85,62,84,85,62,62,62,62,84,85,62,84,85,62,62,84,85,62,84,85,62,84,85,62,0,0,0,0,0,0,0,0,0,0,0,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,66,67,68,66,67,68,71,71,72,71,66,67,68,72,71,72,66,67,68,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,73,72,72,72,72,72,72,73,66,67,68,72,72,71,72,72,72,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,0,0,0,0,0,0,0,0,74,79,0,0,0,0,74,0,0,0,0,0,74,0,0,0,74,82,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0,0,5,76,77,5,74,76,77,5,74,0,0,0,0,0,0,0,0,0,0,0,0,5,74,5,74,0,82,0,5,74,0,5,5,74,76,77,5,74,76,76,0,0,0,5,74,81,76,77,76,77,5,74,0,76,77,5,74,82,82,82,0,76,0,0,77,0,0,76,77,5,74,76,77,5,74,76,77,5,74,77,81,77,81,80,81,80,0,79,0,0,0,0,0,0,79,78,78,78,78,78,78,78,81,80,78,79,81,80,78,79,78,79,79,78,78,78,78,78,78,78,78,78,78,78,78,78,79,78,78,78,78,78,78,78,79,81,80,78,79,78,79,81,78,78,81,80,78,79,78,78,78,78,78,79,78,79,78,78,78,78,78,78,78,78,78,78,78,81,80,78,79,81,80,78,79,81,80,78,79,81,81,80,81,80,0,0,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1],[[2,2],2],[2,2],[3,4],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[5,6],[5,6],[5,6],[5,6],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[7,7],[7,8],[7],[9],[10,11],[10,[[7,[12]]]],[7],[13,8],[10,11],[10,[[8,[12]]]],[7,7],[7,8],[13,8],[7,8],[9],[10,11],[9,14],[9,14],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,4],[13,4],[[[18,[[0,[15,16]],17]]],4],[[[19,[[0,[15,16]],17]]],4],[[[20,[15]]],4],[10,4],[7,4],[[[23,[21,22]]],4],[9],[13],[[[18,[[0,[15,16]],17]]]],[[[19,[[0,[15,16]],17]]]],[[[20,[15]]]],[10],[7],[[[23,[21,22]]]],[[[13,[[0,[24,25]]]],[0,[24,25]]]],[[[9,[25]]],[[9,[25]]]],[[[18,[[0,[15,16,25]],25,25]]],[[18,[[0,[15,16,25]],25,25]]]],[[[19,[[0,[15,16,25]],25]]],[[19,[[0,[15,16,25]],25]]]],[[[20,[[0,[15,25]],25]]],[[20,[[0,[15,25]],25]]]],[10,10],[[[7,[25]]],[[7,[25]]]],[[[23,[[0,[21,25]],22]]],[[23,[[0,[21,25]],22]]]],[[[26,[25]]],[[26,[25]]]],[[10,10],27],[[[7,[21]],[7,[21]]],27],[[[19,[[29,[[0,[15,16,28]]]],[0,[15,16]],17]],[0,[15,16,28]]],6],[[[18,[[29,[[0,[15,16,28]]]],[0,[15,16]],17]],[0,[15,16,28]]],6],[[[20,[15]],15],6],[[],9],[[],13],[[],[[18,[[0,[15,16]],[0,[17,30]]]]]],[[],[[19,[[0,[15,16]],[0,[17,30]]]]]],[[],[[20,[15]]]],[[],10],[[],7],[[],[[23,[21,22]]]],[13,8],[10,11],[7,8],[10,11],[7,8],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],[[31,[[0,[15,16]],17]]]],[9],[13],[20],[7],[[[7,[[32,[[32,[[32,[32]]]]]]]],[8,[[32,[[32,[[32,[32]]]]]]]]],6],[[[18,[[0,[15,16]],17]],[0,[15,16]]],[[33,[[0,[15,16]]]]]],[[[18,[[0,[15,16]],15,17]],[18,[[0,[15,16]],15,17]]],6],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[[[20,[15,[32,[[32,[[32,[32]]]]]]]],[20,[15,[32,[[32,[[32,[32]]]]]]]]],6],[[10,11],6],[[10,11],6],[[10,10],6],[[[7,[32]],8],6],[[[7,[32]],8],6],[[[7,[32]],34],6],[[[7,[32]],8],6],[[[7,[32]],7],6],[[[7,[32]],34],6],[[13,35]],[[[13,[25]],35]],[[[18,[[0,[15,16,24]],24,17]],35]],[[[18,[[0,[15,16]],17]],35]],[[[19,[[0,[15,16]],17]],35]],[[[19,[[0,[15,16,24]],17]],35]],[[[7,[24]],35]],[[7,35]],[[7,35]],[[[13,[25]],[8,[25]]]],[[[7,[25]],[8,[25]]],36],[[[18,[[0,[15,16]],17]]],14],[[[19,[[0,[15,16]],17]]],[[14,[[0,[15,16]]]]]],[[[18,[[0,[15,16]],17]]],14],[[[9,[37]],38],[[36,[39]]]],[[[13,[37]],38],[[36,[39]]]],[[[18,[[0,[15,16,37]],37,17]],38],[[36,[39]]]],[[[19,[[0,[15,16,37]],17]],38],[[36,[39]]]],[[[20,[[0,[15,37]],37]],38],[[36,[39]]]],[[10,38],[[36,[39]]]],[[10,38],[[36,[39]]]],[[[7,[37]],38],[[36,[39]]]],[[[23,[[0,[21,37]],22]],38],[[36,[39]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,10],[40,10],[41,10],[11,10],[42,10],[1,10],[43,10],[12,10],[3,10],[[]],[[]],[[]],[35,[[18,[[0,[15,16]],[0,[17,30]]]]]],[35,[[19,[[0,[15,16]],[0,[17,30]]]]]],[35,[[20,[15]]]],[35,10],[35,10],[35,10],[35,7],[[[8,[25]]],[[36,[[7,[25]]]]]],[11,[[36,[10]]]],[9,14],[9,14],[[[44,[[0,[15,16]]]]]],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[[20,[[29,[[0,[15,28]]]],15]],[0,[15,28]]],14],[[[44,[[0,[15,16]]]]]],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[[20,[[29,[[0,[15,28]]]],15]],[0,[15,28]]],14],[[10,45]],[[10,46]],[[[7,[16]],45]],[[[7,[47]],46]],[[[18,[[0,[15,16,[29,[[0,[15,16,28]]]]]],17]],[0,[15,16,28]]]],[[[20,[[0,[[29,[[0,[15,28]]]],15]]]],[0,[15,28]]]],[[[18,[[0,[15,16,[29,[[0,[15,16,28]]]]]],17]],[0,[15,16,28]]]],[[[20,[[0,[[29,[[0,[15,28]]]],15]]]],[0,[15,28]]]],[[[44,[[0,[15,16]]]]]],[[[48,[[0,[15,16]]]]],36],[[[18,[[0,[15,16]],17]],[0,[15,16]]],[[36,[14]]]],[[[19,[[0,[15,16]],17]],[0,[15,16]]],[[36,[6,[0,[15,16]]]]]],[[[20,[15]],15],[[36,[14]]]],[[7,4],36],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],[[49,[[0,[15,16]],17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[7,[[36,[34,7]]]],[10,[[7,[12]]]],[9],[9],[9],[[[18,[[0,[15,16]],17]]]],[[[18,[[0,[15,16]],17]]]],[[[18,[[0,[15,16]],17]]]],[[[19,[[0,[15,16]],17]]]],[[[20,[15]]]],[7],[7],[7],[[[23,[21,22]]]],[[]],[[[48,[[0,[15,16]]]]],[[0,[15,16]]]],[[[44,[[0,[15,16]]]]]],[[[23,[21,22]]],[[7,[21]]]],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[9,6],[[[18,[[0,[15,16]],17]]],6],[[[19,[[0,[15,16]],17]]],6],[[[20,[15]]],6],[7,6],[[[23,[21,22]]],6],[9,6],[7,6],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[9,50],[[[18,[[0,[15,16]],17]]],[[51,[[0,[15,16]]]]]],[[[19,[[0,[15,16]],17]]],[[52,[[0,[15,16]]]]]],[[[20,[15]]],[[53,[15]]]],[[[23,[21,22]]],[[54,[21]]]],[9,55],[[[18,[[0,[15,16]],17]]],[[56,[[0,[15,16]]]]]],[[[20,[15]]],[[57,[15]]]],[[[23,[21,22]]],[[58,[21]]]],[[[44,[[0,[15,16]]]]],[[0,[15,16]]]],[[[48,[[0,[15,16]]]]],[[0,[15,16]]]],[[[18,[[0,[15,16]],17]]],59],[[[20,[15]]],59],[[[18,[[0,[15,16]],17]]],14],[[[19,[[0,[15,16]],17]]],[[14,[[0,[15,16]]]]]],[[[18,[[0,[15,16]],17]]],14],[9,4],[13,4],[[[18,[[0,[15,16]],17]]],4],[[[19,[[0,[15,16]],17]]],4],[[[20,[15]]],4],[[[23,[21,22]]],4],[[10,10],6],[[10,11],6],[[10,11],6],[[],9],[[],13],[[],[[18,[60]]]],[[],[[19,[60]]]],[[],20],[[],10],[[],7],[[],23],[[[0,[24,25]]],[[13,[[0,[24,25]]]]]],[26,14],[13,26],[[10,10],[[14,[27]]]],[[[7,[[61,[[61,[[61,[61]]]]]]]],[7,[[61,[[61,[[61,[61]]]]]]]]],[[14,[27]]]],[[[23,[21,22]]],[[14,[21]]]],[[[23,[21,22]]],[[14,[[62,[21,22]]]]]],[10,[[14,[63]]]],[7,14],[[[23,[21,22]]],[[14,[21]]]],[9,14],[9],[9,14],[9],[7],[[[23,[21,22]]],21],[[10,63],36],[7,36],[[[23,[21,22]],21],[[36,[21]]]],[9,36],[9],[9,36],[9],[[10,11],36],[7],[[[23,[21,22]],21]],[13,14],[[[44,[[0,[15,16]]]]]],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[[19,[[29,[[0,[15,16,28]]]],[0,[15,16]],17]],[0,[15,16,28]]],6],[[[20,[[29,[[0,[15,28]]]],15]],[0,[15,28]]],14],[[7,4]],[[[44,[[0,[15,16]]]]]],[[[7,[25]],4,25],36],[[[7,[[0,[25,30]]]],4],36],[[7,64]],[[7,64]],[[7,4]],0,[[[7,[[32,[[32,[[32,[32]]]]]]]],[8,[[32,[[32,[[32,[32]]]]]]]]],6],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[7,4]],[[7,4]],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],59],[[10,4]],[[7,4]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[[8,[25]]],[[36,[[7,[25]]]]]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],59],[[[18,[[0,[15,16]],17]]],59],[[[20,[15]]],59],[[[18,[[0,[15,16]],17]]],59],[[[20,[15]]],59],[13],[[10,63],[[36,[39]]]],[[10,11],[[36,[39]]]],[[[7,[12]],11],[[36,[39]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[[62,[21,22]]],21],[[[62,[21,22]]],21],[[[62,[21,22]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[[62,[21,22]]],21],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[66,66],[67,67],[68,68],[[66,66],27],[[67,67],27],[[68,68],27],[[[71,[21,69,70]]]],[[[71,[21,69,70]]]],[[[72,[69]]]],[[[71,[21,69,70]]]],[[66,66],6],[[67,67],6],[[68,68],6],[[[72,[21,69,70]],64],[[14,[[71,[21,69,70]]]]]],[[[71,[21,69,70]]]],[[[72,[[0,[21,37]],69,70]],38],[[36,[39]]]],[[66,38],[[36,[39]]]],[[67,38],[[36,[39]]]],[[68,38],[[36,[39]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[72,[21,69,70]]],6],[[[72,[21,69,70]]],6],[[[72,[21,69,70]]],[[73,[21,69,70]]]],[[],[[72,[67]]]],[[],[[72,[66]]]],[[],[[72,[68]]]],[[[73,[21,69,70]]],14],[[66,66],[[14,[27]]]],[[67,67],[[14,[27]]]],[[68,68],[[14,[27]]]],[[[72,[21,69,70]]],[[14,[21]]]],[[[72,[21,69,70]]],[[36,[21]]]],[[[71,[21,69,70]]],21],[[[72,[21,69,70]]],21],[[[72,[21,69,70]],21],[[36,[21]]]],[[[72,[21,69,70]],21]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[5,5],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[5,5],[74,74],[[5,5],27],[[74,74],27],[[21,21,21],21],[[]],[1],[[5,5],6],[[74,74],6],0,0,[[5,38],75],[[74,38],75],[[]],[[]],[[]],[[]],[76],[76],0,0,0,[[5,46]],[[74,46]],0,[76],[77],[[]],[[]],[[]],[[]],0,[41,76],[41,77],[[5,5],[[14,[27]]]],[[74,74],[[14,[27]]]],[[]],[[]],[[]],0,[76],[[2,2],2],[2,2],[77,12],0,[3,4],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],[[77,12]],0,[[77,12]],0,0,0,0,0,0,0,0,0,0,0,0,0,[78,6],[78],[78],[78],[78],[78],[78],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[78],[79,79],[[79,79],27],[[78,80,81],6],[[78,81,81],6],[[78,12,12,12]],[[78,12,12]],[78],[78],[[78,41,41,12,79]],[[78,41,41,12,79]],[[78,41,41,12,79]],[[78,41,41,79]],[[78,41,41,12,12,79]],[[78,41,41,12,12,12,79]],[[78,41,41,41,41,41,41,79]],[[79,79],6],[[78,12],6],[[78,41,41,12,79]],[[78,41,41,12,12,79]],[[78,41,41,12,12,12,79]],[[78,41,41,41,41,41,41,79]],[[78,6]],[[78,6]],[[79,38],75],[[]],[[]],[[]],[[]],[[78,12,12],79],[[79,46]],0,[78],[78],[[]],[[]],[[]],[[]],[[78,6]],[[78,5],6],[[78,5],6],[[],78],[78,6],[79],[[78,5],6],[[79,79],[[14,[27]]]],[78],[[78,5],6],[[78,82]],[[78,41,41]],[[78,41]],[[78,41]],[[78,12]],[[78,79]],[[78,79]],[[78,12]],[[78,6]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],83],[83],[83,6],[[83,40,1]],[[83,40,1,40,1]],[[83,40,1,40,1,40,1]],[[83,40]],[[83,1]],[[],36],[[],36],[[],65],[[83,12]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[41,41,12,12]],[[41,41,12,12,12,12]],[[41,41,12,12]],[[41,41,12,12]],[[41,41,12,12]],[[41,41,12,12]],[[41,41,12,12,12,12]],[[41,41,12,12]],[[41,41,12,12]],[[41,41,12,12]]],"c":[],"p":[[15,"u32"],[15,"i32"],[15,"i8"],[15,"usize"],[3,"ButtonSet"],[15,"bool"],[3,"Vec"],[15,"slice"],[3,"Deque"],[3,"String"],[15,"str"],[15,"u8"],[3,"HistoryBuffer"],[4,"Option"],[8,"Eq"],[8,"Hash"],[8,"BuildHasher"],[3,"IndexMap"],[3,"IndexSet"],[3,"LinearMap"],[8,"Ord"],[8,"Kind"],[3,"BinaryHeap"],[8,"Copy"],[8,"Clone"],[3,"OldestOrdered"],[4,"Ordering"],[8,"Sized"],[8,"Borrow"],[8,"Default"],[3,"Difference"],[8,"PartialEq"],[4,"Entry"],[15,"array"],[8,"IntoIterator"],[4,"Result"],[8,"Debug"],[3,"Formatter"],[3,"Error"],[15,"u16"],[15,"i16"],[15,"u64"],[15,"i64"],[3,"OccupiedEntry"],[8,"Hasher"],[8,"Hasher"],[8,"Hash"],[3,"VacantEntry"],[3,"Intersection"],[3,"Iter"],[3,"Iter"],[3,"Iter"],[3,"Iter"],[3,"Iter"],[3,"IterMut"],[3,"IterMut"],[3,"IterMut"],[3,"IterMut"],[8,"Iterator"],[3,"BuildHasherDefault"],[8,"PartialOrd"],[3,"PeekMut"],[15,"char"],[8,"FnMut"],[3,"TypeId"],[3,"LinkedIndexU8"],[3,"LinkedIndexU16"],[3,"LinkedIndexUsize"],[8,"SortedLinkedListIndex"],[8,"Kind"],[3,"FindMut"],[3,"SortedLinkedList"],[3,"Iter"],[4,"Base"],[6,"Result"],[3,"EEPROM"],[3,"EEPROMBYTE"],[3,"Arduboy2"],[4,"Color"],[3,"Point"],[3,"Rect"],[8,"Printable"],[3,"ArduboyTones"],[4,"Min"],[4,"Max"],[3,"Min"],[3,"Max"],[3,"Node"]]},\ +"arduboy_rust":{"doc":"This is the arduboy_rust crate To get started import the …","t":"DDNEDDRRRNAAAAOOOOAAOADNERRDDRNMMMMMMDARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRFFFFAARRRRDRRRRRRRRMLLLLRRRRRDDEGGDDDDNDDDNDDLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDIEEDLLLLLLLLLLLLLLLLLLLLLLLLLDDIDDDDDDDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLRRDDRRRENNDERRNDDRRRNRRDNQDIRRRRRDDRRDRNAALLLLLLLLLAGGGGGGGGGGGLLLLFKFLLOMLLLLLLLLOOOLLMLLLLLLALLLLLLKOLFFLAFLLLLLLLLLLLLLMLMMMMDNERRDDRNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMDALLLLLLLLLLLLLLLLRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRDRRRRRRRRMRRRRRFFFFFFFFFF","n":["Arduboy2","ArduboyTones","Black","Color","EEPROM","EEPROMBYTE","FONT_SIZE","HEIGHT","WIDTH","White","arduboy2","arduboy_tone","arduino","c","f","get_sprite_addr","get_string_addr","get_tones_addr","hardware","prelude","progmem","sprites","Arduboy2","Black","Color","FONT_SIZE","HEIGHT","Point","Rect","WIDTH","White","height","width","x","x","y","y","ArduboyTones","arduboy_tone_pitch","NOTE_A0","NOTE_A0H","NOTE_A1","NOTE_A1H","NOTE_A2","NOTE_A2H","NOTE_A3","NOTE_A3H","NOTE_A4","NOTE_A4H","NOTE_A5","NOTE_A5H","NOTE_A6","NOTE_A6H","NOTE_A7","NOTE_A7H","NOTE_A8","NOTE_A8H","NOTE_A9","NOTE_A9H","NOTE_AS0","NOTE_AS0H","NOTE_AS1","NOTE_AS1H","NOTE_AS2","NOTE_AS2H","NOTE_AS3","NOTE_AS3H","NOTE_AS4","NOTE_AS4H","NOTE_AS5","NOTE_AS5H","NOTE_AS6","NOTE_AS6H","NOTE_AS7","NOTE_AS7H","NOTE_AS8","NOTE_AS8H","NOTE_AS9","NOTE_AS9H","NOTE_B0","NOTE_B0H","NOTE_B1","NOTE_B1H","NOTE_B2","NOTE_B2H","NOTE_B3","NOTE_B3H","NOTE_B4","NOTE_B4H","NOTE_B5","NOTE_B5H","NOTE_B6","NOTE_B6H","NOTE_B7","NOTE_B7H","NOTE_B8","NOTE_B8H","NOTE_B9","NOTE_B9H","NOTE_C0","NOTE_C0H","NOTE_C1","NOTE_C1H","NOTE_C2","NOTE_C2H","NOTE_C3","NOTE_C3H","NOTE_C4","NOTE_C4H","NOTE_C5","NOTE_C5H","NOTE_C6","NOTE_C6H","NOTE_C7","NOTE_C7H","NOTE_C8","NOTE_C8H","NOTE_C9","NOTE_C9H","NOTE_CS0","NOTE_CS0H","NOTE_CS1","NOTE_CS1H","NOTE_CS2","NOTE_CS2H","NOTE_CS3","NOTE_CS3H","NOTE_CS4","NOTE_CS4H","NOTE_CS5","NOTE_CS5H","NOTE_CS6","NOTE_CS6H","NOTE_CS7","NOTE_CS7H","NOTE_CS8","NOTE_CS8H","NOTE_CS9","NOTE_CS9H","NOTE_D0","NOTE_D0H","NOTE_D1","NOTE_D1H","NOTE_D2","NOTE_D2H","NOTE_D3","NOTE_D3H","NOTE_D4","NOTE_D4H","NOTE_D5","NOTE_D5H","NOTE_D6","NOTE_D6H","NOTE_D7","NOTE_D7H","NOTE_D8","NOTE_D8H","NOTE_D9","NOTE_D9H","NOTE_DS0","NOTE_DS0H","NOTE_DS1","NOTE_DS1H","NOTE_DS2","NOTE_DS2H","NOTE_DS3","NOTE_DS3H","NOTE_DS4","NOTE_DS4H","NOTE_DS5","NOTE_DS5H","NOTE_DS6","NOTE_DS6H","NOTE_DS7","NOTE_DS7H","NOTE_DS8","NOTE_DS8H","NOTE_DS9","NOTE_DS9H","NOTE_E0","NOTE_E0H","NOTE_E1","NOTE_E1H","NOTE_E2","NOTE_E2H","NOTE_E3","NOTE_E3H","NOTE_E4","NOTE_E4H","NOTE_E5","NOTE_E5H","NOTE_E6","NOTE_E6H","NOTE_E7","NOTE_E7H","NOTE_E8","NOTE_E8H","NOTE_E9","NOTE_E9H","NOTE_F0","NOTE_F0H","NOTE_F1","NOTE_F1H","NOTE_F2","NOTE_F2H","NOTE_F3","NOTE_F3H","NOTE_F4","NOTE_F4H","NOTE_F5","NOTE_F5H","NOTE_F6","NOTE_F6H","NOTE_F7","NOTE_F7H","NOTE_F8","NOTE_F8H","NOTE_F9","NOTE_F9H","NOTE_FS0","NOTE_FS0H","NOTE_FS1","NOTE_FS1H","NOTE_FS2","NOTE_FS2H","NOTE_FS3","NOTE_FS3H","NOTE_FS4","NOTE_FS4H","NOTE_FS5","NOTE_FS5H","NOTE_FS6","NOTE_FS6H","NOTE_FS7","NOTE_FS7H","NOTE_FS8","NOTE_FS8H","NOTE_FS9","NOTE_FS9H","NOTE_G0","NOTE_G0H","NOTE_G1","NOTE_G1H","NOTE_G2","NOTE_G2H","NOTE_G3","NOTE_G3H","NOTE_G4","NOTE_G4H","NOTE_G5","NOTE_G5H","NOTE_G6","NOTE_G6H","NOTE_G7","NOTE_G7H","NOTE_G8","NOTE_G8H","NOTE_G9","NOTE_G9H","NOTE_GS0","NOTE_GS0H","NOTE_GS1","NOTE_GS1H","NOTE_GS2","NOTE_GS2H","NOTE_GS3","NOTE_GS3H","NOTE_GS4","NOTE_GS4H","NOTE_GS5","NOTE_GS5H","NOTE_GS6","NOTE_GS6H","NOTE_GS7","NOTE_GS7H","NOTE_GS8","NOTE_GS8H","NOTE_GS9","NOTE_GS9H","NOTE_REST","TONES_END","TONES_REPEAT","TONE_HIGH_VOLUME","VOLUME_ALWAYS_HIGH","VOLUME_ALWAYS_NORMAL","VOLUME_IN_TONE","delay","random_between","random_less_than","strlen","buttons","led","A","A_BUTTON","B","B_BUTTON","ButtonSet","DOWN","DOWN_BUTTON","LEFT","LEFT_BUTTON","RIGHT","RIGHT_BUTTON","UP","UP_BUTTON","flag_set","just_pressed","just_released","not_pressed","pressed","BLUE_LED","GREEN_LED","RED_LED","RGB_OFF","RGB_ON","BinaryHeap","Deque","Entry","FnvIndexMap","FnvIndexSet","HistoryBuffer","IndexMap","IndexSet","LinearMap","Occupied","OccupiedEntry","OldestOrdered","String","Vacant","VacantEntry","Vec","as_mut","as_mut","as_mut_ptr","as_mut_slices","as_mut_str","as_mut_vec","as_ptr","as_ref","as_ref","as_ref","as_ref","as_ref","as_slice","as_slice","as_slices","as_str","back","back_mut","binary_heap","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","capacity","capacity","capacity","capacity","capacity","capacity","capacity","capacity","clear","clear","clear","clear","clear","clear","clear","clear","clear_with","clone","clone","clone","clone","clone","clone","clone","clone","cmp","cmp","contains","contains_key","contains_key","default","default","default","default","default","default","default","default","default_parameters","deref","deref","deref","deref_mut","deref_mut","difference","drop","drop","drop","drop","ends_with","entry","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend_from_slice","extend_from_slice","first","first","first_mut","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_slice","from_str","front","front_mut","get","get","get","get_mut","get_mut","get_mut","hash","hash","hash","hash","index","index","index_mut","index_mut","insert","insert","insert","insert","insert","insert","intersection","into","into","into","into","into","into","into","into","into","into","into","into","into_array","into_bytes","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_key","into_mut","into_vec","is_disjoint","is_empty","is_empty","is_empty","is_empty","is_empty","is_empty","is_full","is_full","is_subset","is_superset","iter","iter","iter","iter","iter","iter_mut","iter_mut","iter_mut","iter_mut","key","key","keys","keys","last","last","last_mut","len","len","len","len","len","len","ne","ne","ne","new","new","new","new","new","new","new","new","new_with","next","oldest_ordered","partial_cmp","partial_cmp","peek","peek_mut","pop","pop","pop","pop_back","pop_back_unchecked","pop_front","pop_front_unchecked","pop_unchecked","pop_unchecked","print_2","push","push","push","push_back","push_back_unchecked","push_front","push_front_unchecked","push_str","push_unchecked","push_unchecked","recent","remove","remove","remove","remove","remove","remove_entry","resize","resize_default","retain","retain_mut","set_len","sorted_linked_list","starts_with","swap_remove","swap_remove","swap_remove_unchecked","symmetric_difference","truncate","truncate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","union","values","values","values_mut","values_mut","write","write_char","write_str","write_str","BinaryHeap","Kind","Max","Min","PeekMut","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","deref","deref_mut","drop","from","from","from","into","into","into","pop","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","FindMut","Iter","Kind","LinkedIndexU16","LinkedIndexU8","LinkedIndexUsize","Max","Min","Node","SortedLinkedList","SortedLinkedListIndex","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","cmp","cmp","cmp","deref","deref_mut","drop","drop","eq","eq","eq","find_mut","finish","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into_iter","is_empty","is_full","iter","new_u16","new_u8","new_usize","next","partial_cmp","partial_cmp","partial_cmp","peek","pop","pop","pop_unchecked","push","push_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","A","A_BUTTON","Arduboy2","ArduboyTones","B","BLUE_LED","B_BUTTON","Base","Bin","Black","ButtonSet","Color","DOWN","DOWN_BUTTON","Dec","EEPROM","EEPROMBYTE","FONT_SIZE","GREEN_LED","HEIGHT","Hex","LEFT","LEFT_BUTTON","LinearMap","Oct","Parameters","Point","Printable","RED_LED","RGB_OFF","RGB_ON","RIGHT","RIGHT_BUTTON","Rect","String","UP","UP_BUTTON","Vec","WIDTH","White","arduboy2","arduboy_tone","bitor","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","buttons","c_char","c_double","c_float","c_int","c_long","c_longlong","c_size_t","c_uchar","c_uint","c_ulong","c_ulonglong","clone","clone","cmp","cmp","constrain","default_parameters","delay","eq","eq","f","flag_set","fmt","fmt","from","from","from","from","get","get_direct","get_sprite_addr","get_string_addr","get_tones_addr","hash","hash","height","init","init","into","into","into","into","led","new","new","partial_cmp","partial_cmp","print","print","print_2","progmem","put","random_between","random_less_than","read","sprites","strlen","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","update","width","write","x","x","y","y","Arduboy2","Black","Color","FONT_SIZE","HEIGHT","Point","Rect","WIDTH","White","audio_enabled","audio_off","audio_on","audio_on_and_save","audio_save_on_off","audio_toggle","begin","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clear","clone","cmp","collide_point","collide_rect","digital_write_rgb","digital_write_rgb_single","display","display_and_clear_buffer","draw_circle","draw_fast_hline","draw_fast_vline","draw_pixel","draw_rect","draw_round_rect","draw_triangle","eq","every_x_frames","fill_circle","fill_rect","fill_round_rect","fill_triangle","flip_horizontal","flip_vertical","fmt","from","from","from","from","get_pixel","hash","height","idle","init_random_seed","into","into","into","into","invert","just_pressed","just_released","new","next_frame","not","not_pressed","partial_cmp","poll_buttons","pressed","print","set_cursor","set_cursor_x","set_cursor_y","set_frame_rate","set_text_background_color","set_text_color","set_text_size","set_text_wrap","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","width","x","x","y","y","ArduboyTones","arduboy_tone_pitch","borrow","borrow_mut","from","into","new","no_tone","playing","tone","tone2","tone3","tones","tones_in_ram","try_from","try_into","type_id","volume_mode","NOTE_A0","NOTE_A0H","NOTE_A1","NOTE_A1H","NOTE_A2","NOTE_A2H","NOTE_A3","NOTE_A3H","NOTE_A4","NOTE_A4H","NOTE_A5","NOTE_A5H","NOTE_A6","NOTE_A6H","NOTE_A7","NOTE_A7H","NOTE_A8","NOTE_A8H","NOTE_A9","NOTE_A9H","NOTE_AS0","NOTE_AS0H","NOTE_AS1","NOTE_AS1H","NOTE_AS2","NOTE_AS2H","NOTE_AS3","NOTE_AS3H","NOTE_AS4","NOTE_AS4H","NOTE_AS5","NOTE_AS5H","NOTE_AS6","NOTE_AS6H","NOTE_AS7","NOTE_AS7H","NOTE_AS8","NOTE_AS8H","NOTE_AS9","NOTE_AS9H","NOTE_B0","NOTE_B0H","NOTE_B1","NOTE_B1H","NOTE_B2","NOTE_B2H","NOTE_B3","NOTE_B3H","NOTE_B4","NOTE_B4H","NOTE_B5","NOTE_B5H","NOTE_B6","NOTE_B6H","NOTE_B7","NOTE_B7H","NOTE_B8","NOTE_B8H","NOTE_B9","NOTE_B9H","NOTE_C0","NOTE_C0H","NOTE_C1","NOTE_C1H","NOTE_C2","NOTE_C2H","NOTE_C3","NOTE_C3H","NOTE_C4","NOTE_C4H","NOTE_C5","NOTE_C5H","NOTE_C6","NOTE_C6H","NOTE_C7","NOTE_C7H","NOTE_C8","NOTE_C8H","NOTE_C9","NOTE_C9H","NOTE_CS0","NOTE_CS0H","NOTE_CS1","NOTE_CS1H","NOTE_CS2","NOTE_CS2H","NOTE_CS3","NOTE_CS3H","NOTE_CS4","NOTE_CS4H","NOTE_CS5","NOTE_CS5H","NOTE_CS6","NOTE_CS6H","NOTE_CS7","NOTE_CS7H","NOTE_CS8","NOTE_CS8H","NOTE_CS9","NOTE_CS9H","NOTE_D0","NOTE_D0H","NOTE_D1","NOTE_D1H","NOTE_D2","NOTE_D2H","NOTE_D3","NOTE_D3H","NOTE_D4","NOTE_D4H","NOTE_D5","NOTE_D5H","NOTE_D6","NOTE_D6H","NOTE_D7","NOTE_D7H","NOTE_D8","NOTE_D8H","NOTE_D9","NOTE_D9H","NOTE_DS0","NOTE_DS0H","NOTE_DS1","NOTE_DS1H","NOTE_DS2","NOTE_DS2H","NOTE_DS3","NOTE_DS3H","NOTE_DS4","NOTE_DS4H","NOTE_DS5","NOTE_DS5H","NOTE_DS6","NOTE_DS6H","NOTE_DS7","NOTE_DS7H","NOTE_DS8","NOTE_DS8H","NOTE_DS9","NOTE_DS9H","NOTE_E0","NOTE_E0H","NOTE_E1","NOTE_E1H","NOTE_E2","NOTE_E2H","NOTE_E3","NOTE_E3H","NOTE_E4","NOTE_E4H","NOTE_E5","NOTE_E5H","NOTE_E6","NOTE_E6H","NOTE_E7","NOTE_E7H","NOTE_E8","NOTE_E8H","NOTE_E9","NOTE_E9H","NOTE_F0","NOTE_F0H","NOTE_F1","NOTE_F1H","NOTE_F2","NOTE_F2H","NOTE_F3","NOTE_F3H","NOTE_F4","NOTE_F4H","NOTE_F5","NOTE_F5H","NOTE_F6","NOTE_F6H","NOTE_F7","NOTE_F7H","NOTE_F8","NOTE_F8H","NOTE_F9","NOTE_F9H","NOTE_FS0","NOTE_FS0H","NOTE_FS1","NOTE_FS1H","NOTE_FS2","NOTE_FS2H","NOTE_FS3","NOTE_FS3H","NOTE_FS4","NOTE_FS4H","NOTE_FS5","NOTE_FS5H","NOTE_FS6","NOTE_FS6H","NOTE_FS7","NOTE_FS7H","NOTE_FS8","NOTE_FS8H","NOTE_FS9","NOTE_FS9H","NOTE_G0","NOTE_G0H","NOTE_G1","NOTE_G1H","NOTE_G2","NOTE_G2H","NOTE_G3","NOTE_G3H","NOTE_G4","NOTE_G4H","NOTE_G5","NOTE_G5H","NOTE_G6","NOTE_G6H","NOTE_G7","NOTE_G7H","NOTE_G8","NOTE_G8H","NOTE_G9","NOTE_G9H","NOTE_GS0","NOTE_GS0H","NOTE_GS1","NOTE_GS1H","NOTE_GS2","NOTE_GS2H","NOTE_GS3","NOTE_GS3H","NOTE_GS4","NOTE_GS4H","NOTE_GS5","NOTE_GS5H","NOTE_GS6","NOTE_GS6H","NOTE_GS7","NOTE_GS7H","NOTE_GS8","NOTE_GS8H","NOTE_GS9","NOTE_GS9H","NOTE_REST","TONES_END","TONES_REPEAT","TONE_HIGH_VOLUME","VOLUME_ALWAYS_HIGH","VOLUME_ALWAYS_NORMAL","VOLUME_IN_TONE","A","A_BUTTON","B","B_BUTTON","ButtonSet","DOWN","DOWN_BUTTON","LEFT","LEFT_BUTTON","RIGHT","RIGHT_BUTTON","UP","UP_BUTTON","flag_set","BLUE_LED","GREEN_LED","RED_LED","RGB_OFF","RGB_ON","draw_erase","draw_external_mask","draw_override","draw_plus_mask","draw_self_masked","draw_erase","draw_external_mask","draw_override","draw_plus_mask","draw_self_masked"],"q":[[0,"arduboy_rust"],[22,"arduboy_rust::arduboy2"],[37,"arduboy_rust::arduboy_tone"],[39,"arduboy_rust::arduboy_tone::arduboy_tone_pitch"],[286,"arduboy_rust::arduino"],[289,"arduboy_rust::c"],[290,"arduboy_rust::hardware"],[292,"arduboy_rust::hardware::buttons"],[310,"arduboy_rust::hardware::led"],[315,"arduboy_rust::heapless"],[680,"arduboy_rust::heapless::binary_heap"],[710,"arduboy_rust::heapless::sorted_linked_list"],[820,"arduboy_rust::prelude"],[948,"arduboy_rust::prelude::arduboy2"],[1046,"arduboy_rust::prelude::arduboy_tone"],[1064,"arduboy_rust::prelude::arduboy_tone::arduboy_tone_pitch"],[1311,"arduboy_rust::prelude::buttons"],[1325,"arduboy_rust::prelude::led"],[1330,"arduboy_rust::prelude::sprites"],[1335,"arduboy_rust::sprites"]],"d":["This is the struct to interact in a save way with the …","This is the struct to interact in a save way with the …","Led is off","This item is to chose between Black or White","This is the struct to store and read structs objects …","Use this struct to store and read single bytes to/from …","The standard font size of the arduboy","The standard height of the arduboy","The standard width of the arduboy","Led is on","This is the Module to interact in a save way with the …","This is the Module to interact in a save way with the …","This is the Module to interact in a save way with the …","Clib functions you can use on the Arduboy","This is the way to go if you want print some random text","Create a const raw pointer to a sprite as u8, without …","Create a const raw pointer to a [u8;_] that saves text, …","Create a const raw pointer to a sprite as u16, without …","This is the Module to interact in a save way with the …","This is the important one to use this library effective in …","Create a space for Progmem variable","This is the module to interact in a save way with the …","This is the struct to interact in a save way with the …","Led is off","This item is to chose between Black or White","The standard font size of the arduboy","The standard height of the arduboy","This struct is used by a few Arduboy functions.","This struct is used by a few Arduboy functions.","The standard width of the arduboy","Led is on","Rect height","Rect width","Position X","Position X","Position Y","Position Y","This is the struct to interact in a save way with the …","A list of all tones available and used by the Sounds …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Arduino function to pause the cpu circles for a given …","A Arduino function to get a random number between 2 numbers","A Arduino function to get a random number smaller than the …","A C function to get the length of a string","A list of all six buttons available on the Arduboy","A list of all LED variables available","Just a const for the A button","Just a const for the A button","Just a const for the B button","Just a const for the B button","This struct gives the library a understanding what Buttons …","Just a const for the DOWN button","Just a const for the DOWN button","Just a const for the LEFT button","Just a const for the LEFT button","Just a const for the RIGHT button","Just a const for the RIGHT button","Just a const for the UP button","Just a const for the UP button","","","","","","Just a const for the blue led","Just a const for the green led","Just a const for the red led","Just a const for led off","Just a const for led on","A priority queue implemented with a binary heap.","A fixed capacity double-ended queue.","A view into an entry in the map","A heapless::IndexMap using the default FNV hasher","A heapless::IndexSet using the default FNV hasher. A list …","A “history buffer”, similar to a write-only ring …","Fixed capacity IndexMap","Fixed capacity IndexSet.","A fixed capacity map / dictionary that performs lookups …","The entry corresponding to the key K exists in the map","An occupied entry which can be manipulated","An iterator on the underlying buffer ordered from oldest …","A fixed capacity String","The entry corresponding to the key K does not exist in the …","A view into an empty slot in the underlying map","A fixed capacity Vec","","","Returns a raw pointer to the vector’s buffer, which may …","Returns a pair of mutable slices which contain, in order, …","Converts a String into a mutable string slice.","Returns a mutable reference to the contents of this String.","Returns a raw pointer to the vector’s buffer.","","","","","","Returns the array slice backing the buffer, without …","Extracts a slice containing the entire vector.","Returns a pair of slices which contain, in order, the …","Extracts a string slice containing the entire string.","Provides a reference to the back element, or None if the …","Provides a mutable reference to the back element, or None …","A priority queue implemented with a binary heap.","","","","","","","","","","","","","","","","","","","","","","","","","Returns the maximum number of elements the deque can hold.","Returns the capacity of the buffer, which is the length of …","Returns the number of elements the map can hold","Returns the number of elements the set can hold","Returns the number of elements that the map can hold","Returns the maximum number of elements the String can hold","Returns the maximum number of elements the vector can hold.","Returns the capacity of the binary heap.","Clears the deque, removing all values.","Clears the buffer, replacing every element with the …","Remove all key-value pairs in the map, while preserving …","Clears the set, removing all values.","Clears the map, removing all key-value pairs","Truncates this String, removing all contents.","Clears the vector, removing all values.","Drops all items from the binary heap.","Clears the buffer, replacing every element with the given …","","","","","","","","","","","Returns true if the set contains a value.","Returns true if the map contains a value for the specified …","Returns true if the map contains a value for the specified …","","","","","","","","","","","","","","","Visits the values representing the difference, i.e. the …","","","","","Returns true if needle is a suffix of the Vec.","Returns an entry for the corresponding key","","","","","","","","","","","","","","","","","","","Extends the vec from an iterator.","","","Clones and writes all elements in a slice to the buffer.","Clones and appends all elements in a slice to the Vec.","Get the first key-value pair","Get the first value","Get the first key-value pair, with mutable access to the …","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","Constructs a new vector with a fixed capacity of N and …","","Provides a reference to the front element, or None if the …","Provides a mutable reference to the front element, or None …","Gets a reference to the value associated with this entry","Returns a reference to the value corresponding to the key.","Returns a reference to the value corresponding to the key","Gets a mutable reference to the value associated with this …","Returns a mutable reference to the value corresponding to …","Returns a mutable reference to the value corresponding to …","","","","","","","","","Overwrites the underlying map’s value with this entry’…","Inserts this entry into to underlying map, yields a …","Inserts a key-value pair into the map.","Adds a value to the set.","Inserts a key-value pair into the map.","Inserts an element at position index within the vector, …","Visits the values representing the intersection, i.e. the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the contents of the vector as an array of length M …","Converts a String into a byte vector.","","","","","","","","","","","","","","Consumes this entry to yield to key associated with it","Consumes this entry and yields a reference to the …","Returns the underlying Vec<T,N>. Order is arbitrary and …","Returns true if self has no elements in common with other. …","Returns whether the deque is empty.","Returns true if the map contains no elements.","Returns true if the set contains no elements.","Returns true if the map contains no elements","Returns true if the vec is empty","Checks if the binary heap is empty.","Returns whether the deque is full (i.e. if …","Returns true if the vec is full","Returns true if the set is a subset of another, i.e. other …","Examples","Returns an iterator over the deque.","Return an iterator over the key-value pairs of the map, in …","Return an iterator over the values of the set, in their …","An iterator visiting all key-value pairs in arbitrary …","Returns an iterator visiting all values in the underlying …","Returns an iterator that allows modifying each value.","Return an iterator over the key-value pairs of the map, in …","An iterator visiting all key-value pairs in arbitrary …","Returns a mutable iterator visiting all values in the …","Gets a reference to the key that this entity corresponds to","Get the key associated with this entry","Return an iterator over the keys of the map, in their order","An iterator visiting all keys in arbitrary order","Get the last key-value pair","Get the last value","Get the last key-value pair, with mutable access to the …","Returns the number of elements currently in the deque.","Returns the current fill level of the buffer.","Return the number of key-value pairs in the map.","Returns the number of elements in the set.","Returns the number of elements in this map","Returns the length of the binary heap.","","","","Constructs a new, empty deque with a fixed capacity of N","Constructs a new history buffer.","Creates an empty IndexMap.","Creates an empty IndexSet","Creates an empty LinearMap","Constructs a new, empty String with a fixed capacity of N …","Constructs a new, empty vector with a fixed capacity of N","Creates an empty BinaryHeap as a $K-heap.","Constructs a new history buffer, where every element is …","","Returns an iterator for iterating over the buffer from …","","","Returns the top (greatest if max-heap, smallest if …","Returns a mutable reference to the greatest item in the …","Removes the last character from the string buffer and …","Removes the last element from a vector and returns it, or …","Removes the top (greatest if max-heap, smallest if …","Removes the item from the back of the deque and returns …","Removes an item from the back of the deque and returns it, …","Removes the item from the front of the deque and returns …","Removes an item from the front of the deque and returns …","Removes the last element from a vector and returns it","Removes the top (greatest if max-heap, smallest if …","","Appends the given char to the end of this String.","Appends an item to the back of the collection","Pushes an item onto the binary heap.","Appends an item to the back of the deque","Appends an item to the back of the deque","Appends an item to the front of the deque","Appends an item to the front of the deque","Appends a given string slice onto the end of this String.","Appends an item to the back of the collection","Pushes an item onto the binary heap without first checking …","Returns a reference to the most recently written value.","Removes this entry from the map and yields its value","Same as swap_remove","Removes a value from the set. Returns true if the value …","Removes a key from the map, returning the value at the key …","Removes and returns the element at position index within …","Removes this entry from the map and yields its …","Resizes the Vec in-place so that len is equal to new_len.","Resizes the Vec in-place so that len is equal to new_len.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate, …","Forces the length of the vector to new_len.","A fixed sorted priority linked list, similar to BinaryHeap …","Returns true if needle is a prefix of the Vec.","Remove the key-value pair equivalent to key and return its …","Removes an element from the vector and returns it.","Removes an element from the vector and returns it.","Visits the values representing the symmetric difference, …","Shortens this String to the specified length.","Shortens the vector, keeping the first len elements and …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Visits the values representing the union, i.e. all the …","Return an iterator over the values of the map, in their …","An iterator visiting all values in arbitrary order","Return an iterator over mutable references to the the …","An iterator visiting all values mutably in arbitrary order","Writes an element to the buffer, overwriting the oldest …","","","","A priority queue implemented with a binary heap.","The binary heap kind: min-heap or max-heap","Max-heap","Min-heap","Structure wrapping a mutable reference to the greatest …","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Removes the peeked value from the heap and returns it.","","","","","","","","","","Comes from SortedLinkedList::find_mut.","Iterator for the linked list.","The linked list kind: min-list or max-list","Index for the SortedLinkedList with specific backing …","Index for the SortedLinkedList with specific backing …","Index for the SortedLinkedList with specific backing …","Marker for Max sorted SortedLinkedList.","Marker for Min sorted SortedLinkedList.","A node in the SortedLinkedList.","The linked list.","Trait for defining an index for the linked list, never …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Find an element in the list that can be changed and …","This will resort the element into the correct position in …","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Checks if the linked list is empty.","Checks if the linked list is full.","Get an iterator over the sorted list.","Create a new linked list.","Create a new linked list.","Create a new linked list.","","","","","Peek at the first element.","Pops the first element in the list.","This will pop the element from the list.","Pop an element from the list without checking so the list …","Pushes an element to the linked list and sorts it into …","Pushes a value onto the list without checking if the list …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Just a const for the A button","Just a const for the A button","This is the struct to interact in a save way with the …","This is the struct to interact in a save way with the …","Just a const for the B button","Just a const for the blue led","Just a const for the B button","","","Led is off","This struct gives the library a understanding what Buttons …","This item is to chose between Black or White","Just a const for the DOWN button","Just a const for the DOWN button","","This is the struct to store and read structs objects …","Use this struct to store and read single bytes to/from …","The standard font size of the arduboy","Just a const for the green led","The standard height of the arduboy","","Just a const for the LEFT button","Just a const for the LEFT button","A fixed capacity map / dictionary that performs lookups …","","","This struct is used by a few Arduboy functions.","","Just a const for the red led","Just a const for led off","Just a const for led on","Just a const for the RIGHT button","Just a const for the RIGHT button","This struct is used by a few Arduboy functions.","A fixed capacity String","Just a const for the UP button","Just a const for the UP button","A fixed capacity Vec","The standard width of the arduboy","Led is on","This is the Module to interact in a save way with the …","This is the Module to interact in a save way with the …","","","","","","","","","","A list of all six buttons available on the Arduboy","Equivalent to C’s char type.","Equivalent to C’s double type.","Equivalent to C’s float type.","Equivalent to C’s signed int (int) type.","Equivalent to C’s signed long (long) type.","Equivalent to C’s signed long long (long long) type.","Equivalent to C’s size_t type, from stddef.h (or cstddef …","Equivalent to C’s unsigned char type.","Equivalent to C’s unsigned int type.","Equivalent to C’s unsigned long type.","Equivalent to C’s unsigned long long type.","","","","","","","A Arduino function to pause the cpu circles for a given …","","","This is the way to go if you want print some random text","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Create a const raw pointer to a sprite as u8, without …","Create a const raw pointer to a [u8;_] that saves text, …","Create a const raw pointer to a sprite as u16, without …","","","Rect height","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","A list of all LED variables available","","","","","","","","Create a space for Progmem variable","","A Arduino function to get a random number between 2 numbers","A Arduino function to get a random number smaller than the …","","This is the module to interact in a save way with the …","A C function to get the length of a string","","","","","","","","","","","","","","Rect width","","Position X","Position X","Position Y","Position Y","This is the struct to interact in a save way with the …","Led is off","This item is to chose between Black or White","The standard font size of the arduboy","The standard height of the arduboy","This struct is used by a few Arduboy functions.","This struct is used by a few Arduboy functions.","The standard width of the arduboy","Led is on","Get the current sound state.","Turn sound off (mute).","Turn sound on.","Combines the use function of audio_on() and …","Save the current sound state in EEPROM.","Toggle the sound on/off state.","Initialize the hardware, display the boot logo, provide …","","","","","","","","","Clear the display buffer and set the text cursor to …","","","Test if a point falls within a rectangle.","Test if a rectangle is intersecting with another rectangle.","Set the RGB LEDs digitally, to either fully on or fully …","Set one of the RGB LEDs digitally, to either fully on or …","Copy the contents of the display buffer to the display. …","Copy the contents of the display buffer to the display. …","Draw a circle of a given radius.","Draw a horizontal line.","Draw a vertical line.","Set a single pixel in the display buffer to the specified …","Draw a rectangle of a specified width and height.","Draw a rectangle with rounded corners.","Draw a triangle given the coordinates of each corner.","","Indicate if the specified number of frames has elapsed.","Draw a filled-in circle of a given radius.","Draw a filled-in rectangle of a specified width and height.","Draw a filled-in rectangle with rounded corners.","Draw a filled-in triangle given the coordinates of each …","Flip the display horizontally or set it back to normal.","Flip the display vertically or set it back to normal.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the state of the given pixel in the screen buffer.","","Rect height","Idle the CPU to save power.","Seed the random number generator with a random value.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invert the entire display or set it back to normal.","Check if a button has just been pressed.","Check if a button has just been released.","gives you a new instance of the Arduboy2","Indicate that it’s time to render the next frame.","","Test if the specified buttons are not pressed.","","Poll the buttons and track their state over time.","Test if the all of the specified buttons are pressed.","The Arduino Print class is available for writing text to …","Set the location of the text cursor.","Set the X coordinate of the text cursor location.","Set the Y coordinate of the text cursor location.","Set the frame rate used by the frame control functions.","Set the text background color.","Set the text foreground color.","Set the text character size.","Set or disable text wrap mode.","","","","","","","","","","","","","Rect width","Position X","Position X","Position Y","Position Y","This is the struct to interact in a save way with the …","A list of all tones available and used by the Sounds …","","","Returns the argument unchanged.","Calls U::from(self).","Get a new instance of ArduboyTones","Stop playing the tone or sequence.","Check if a tone or tone sequence is playing.","Play a single tone.","Play two tones in sequence.","Play three tones in sequence.","Play a tone sequence from frequency/duration pairs in a …","Play a tone sequence from frequency/duration pairs in an …","","","","Set the volume to always normal, always high, or tone …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Just a const for the A button","Just a const for the A button","Just a const for the B button","Just a const for the B button","This struct gives the library a understanding what Buttons …","Just a const for the DOWN button","Just a const for the DOWN button","Just a const for the LEFT button","Just a const for the LEFT button","Just a const for the RIGHT button","Just a const for the RIGHT button","Just a const for the UP button","Just a const for the UP button","","Just a const for the blue led","Just a const for the green led","Just a const for the red led","Just a const for led off","Just a const for led on","“Erase” a sprite.","Draw a sprite using a separate image and mask array.","Draw a sprite by replacing the existing content completely.","Draw a sprite using an array containing both image and …","Draw a sprite using only the bits set to 1.","“Erase” a sprite.","Draw a sprite using a separate image and mask array.","Draw a sprite by replacing the existing content completely.","Draw a sprite using an array containing both image and …","Draw a sprite using only the bits set to 1."],"i":[0,0,79,0,0,0,0,0,0,79,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0,0,0,0,0,0,79,81,81,81,80,81,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33,0,0,0,33,0,0,7,7,7,9,10,10,7,13,10,10,7,7,13,7,9,10,9,9,0,9,13,33,44,48,18,19,20,10,7,23,26,9,13,33,44,48,18,19,20,10,7,23,26,9,13,18,19,20,10,7,23,9,13,18,19,20,10,7,23,13,9,18,19,20,10,7,23,26,10,7,19,18,20,9,13,18,19,20,10,7,23,10,13,10,7,10,7,19,9,13,20,7,7,18,18,19,20,10,10,10,7,7,7,7,7,7,13,13,18,18,19,19,7,7,7,13,7,18,19,18,9,13,18,19,20,10,10,7,23,9,13,33,44,48,18,19,20,10,10,10,10,10,10,10,10,10,10,7,23,26,18,19,20,10,10,10,7,7,10,9,9,44,18,20,44,18,20,10,10,7,7,18,20,18,20,44,48,18,19,20,7,19,9,13,33,44,48,18,19,20,10,7,23,26,7,10,9,9,9,18,18,18,19,20,7,7,7,23,26,48,44,23,19,9,18,19,20,7,23,9,7,19,19,9,18,19,20,23,9,18,20,23,44,48,18,20,18,19,18,9,13,18,19,20,23,10,10,10,9,13,18,19,20,10,7,23,13,26,13,10,7,23,23,10,7,23,9,9,9,9,7,23,10,10,7,23,9,9,9,9,10,7,23,13,44,18,19,20,7,44,7,7,7,7,7,0,7,18,7,7,19,10,7,9,13,33,44,48,18,19,20,10,7,7,23,26,9,13,33,44,48,18,19,20,10,7,23,26,9,13,33,44,48,18,19,20,10,7,23,26,19,18,20,18,20,13,10,10,7,0,0,0,0,0,84,85,62,84,85,62,62,62,62,84,85,62,84,85,62,62,84,85,62,84,85,62,84,85,62,0,0,0,0,0,0,0,0,0,0,0,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,66,67,68,66,67,68,71,71,72,71,66,67,68,72,71,72,66,67,68,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,73,72,72,72,72,72,72,73,66,67,68,72,72,71,72,72,72,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,86,87,88,72,73,71,66,67,68,0,0,0,0,0,0,0,0,74,79,0,0,0,0,74,0,0,0,0,0,74,0,0,0,74,82,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0,0,5,76,77,5,74,76,77,5,74,0,0,0,0,0,0,0,0,0,0,0,0,5,74,5,74,0,82,0,5,74,0,5,5,74,76,77,5,74,76,76,0,0,0,5,74,81,76,77,76,77,5,74,0,76,77,5,74,82,82,82,0,76,0,0,77,0,0,76,77,5,74,76,77,5,74,76,77,5,74,77,81,77,81,80,81,80,0,79,0,0,0,0,0,0,79,78,78,78,78,78,78,78,81,80,78,79,81,80,78,79,78,79,79,78,78,78,78,78,78,78,78,78,78,78,78,78,79,78,78,78,78,78,78,78,79,81,80,78,79,78,79,81,78,78,81,80,78,79,78,78,78,78,78,79,78,79,78,78,78,78,78,78,78,78,78,78,78,81,80,78,79,81,80,78,79,81,80,78,79,81,81,80,81,80,0,0,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1],[[2,2],2],[2,2],[3,4],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[5,6],[5,6],[5,6],[5,6],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[7,7],[7,8],[7],[9],[10,11],[10,[[7,[12]]]],[7],[13,8],[10,[[8,[12]]]],[10,11],[7,7],[7,8],[13,8],[7,8],[9],[10,11],[9,14],[9,14],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,4],[13,4],[[[18,[[0,[15,16]],17]]],4],[[[19,[[0,[15,16]],17]]],4],[[[20,[15]]],4],[10,4],[7,4],[[[23,[21,22]]],4],[9],[13],[[[18,[[0,[15,16]],17]]]],[[[19,[[0,[15,16]],17]]]],[[[20,[15]]]],[10],[7],[[[23,[21,22]]]],[[[13,[[0,[24,25]]]],[0,[24,25]]]],[[[9,[25]]],[[9,[25]]]],[[[18,[[0,[15,16,25]],25,25]]],[[18,[[0,[15,16,25]],25,25]]]],[[[19,[[0,[15,16,25]],25]]],[[19,[[0,[15,16,25]],25]]]],[[[20,[[0,[15,25]],25]]],[[20,[[0,[15,25]],25]]]],[10,10],[[[7,[25]]],[[7,[25]]]],[[[23,[[0,[21,25]],22]]],[[23,[[0,[21,25]],22]]]],[[[26,[25]]],[[26,[25]]]],[[10,10],27],[[[7,[21]],[7,[21]]],27],[[[19,[[29,[[0,[15,16,28]]]],[0,[15,16]],17]],[0,[15,16,28]]],6],[[[18,[[29,[[0,[15,16,28]]]],[0,[15,16]],17]],[0,[15,16,28]]],6],[[[20,[15]],15],6],[[],9],[[],13],[[],[[18,[[0,[15,16]],[0,[17,30]]]]]],[[],[[19,[[0,[15,16]],[0,[17,30]]]]]],[[],[[20,[15]]]],[[],10],[[],7],[[],[[23,[21,22]]]],[[]],[13,8],[10,11],[7,8],[10,11],[7,8],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],[[31,[[0,[15,16]],17]]]],[9],[13],[20],[7],[[[7,[[32,[[32,[[32,[32]]]]]]]],[8,[[32,[[32,[[32,[32]]]]]]]]],6],[[[18,[[0,[15,16]],17]],[0,[15,16]]],[[33,[[0,[15,16]]]]]],[[[18,[[0,[15,16]],15,17]],[18,[[0,[15,16]],15,17]]],6],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[[[20,[15,[32,[[32,[[32,[32]]]]]]]],[20,[15,[32,[[32,[[32,[32]]]]]]]]],6],[[10,10],6],[[10,11],6],[[10,11],6],[[[7,[32]],8],6],[[[7,[32]],8],6],[[[7,[32]],34],6],[[[7,[32]],7],6],[[[7,[32]],8],6],[[[7,[32]],34],6],[[13,35]],[[[13,[25]],35]],[[[18,[[0,[15,16,24]],24,17]],35]],[[[18,[[0,[15,16]],17]],35]],[[[19,[[0,[15,16,24]],17]],35]],[[[19,[[0,[15,16]],17]],35]],[[7,35]],[[[7,[24]],35]],[[7,35]],[[[13,[25]],[8,[25]]]],[[[7,[25]],[8,[25]]],36],[[[18,[[0,[15,16]],17]]],14],[[[19,[[0,[15,16]],17]]],[[14,[[0,[15,16]]]]]],[[[18,[[0,[15,16]],17]]],14],[[[9,[37]],38],[[36,[39]]]],[[[13,[37]],38],[[36,[39]]]],[[[18,[[0,[15,16,37]],37,17]],38],[[36,[39]]]],[[[19,[[0,[15,16,37]],17]],38],[[36,[39]]]],[[[20,[[0,[15,37]],37]],38],[[36,[39]]]],[[10,38],[[36,[39]]]],[[10,38],[[36,[39]]]],[[[7,[37]],38],[[36,[39]]]],[[[23,[[0,[21,37]],22]],38],[[36,[39]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[3,10],[12,10],[40,10],[1,10],[41,10],[11,10],[42,10],[43,10],[2,10],[[]],[[]],[[]],[35,[[18,[[0,[15,16]],[0,[17,30]]]]]],[35,[[19,[[0,[15,16]],[0,[17,30]]]]]],[35,[[20,[15]]]],[35,10],[35,10],[35,10],[35,7],[[[8,[25]]],[[36,[[7,[25]]]]]],[11,[[36,[10]]]],[9,14],[9,14],[[[44,[[0,[15,16]]]]]],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[[20,[[29,[[0,[15,28]]]],15]],[0,[15,28]]],14],[[[44,[[0,[15,16]]]]]],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[[20,[[29,[[0,[15,28]]]],15]],[0,[15,28]]],14],[[10,45]],[[10,46]],[[[7,[47]],45]],[[[7,[16]],46]],[[[18,[[0,[15,16,[29,[[0,[15,16,28]]]]]],17]],[0,[15,16,28]]]],[[[20,[[0,[[29,[[0,[15,28]]]],15]]]],[0,[15,28]]]],[[[18,[[0,[15,16,[29,[[0,[15,16,28]]]]]],17]],[0,[15,16,28]]]],[[[20,[[0,[[29,[[0,[15,28]]]],15]]]],[0,[15,28]]]],[[[44,[[0,[15,16]]]]]],[[[48,[[0,[15,16]]]]],36],[[[18,[[0,[15,16]],17]],[0,[15,16]]],[[36,[14]]]],[[[19,[[0,[15,16]],17]],[0,[15,16]]],[[36,[6,[0,[15,16]]]]]],[[[20,[15]],15],[[36,[14]]]],[[7,4],36],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],[[49,[[0,[15,16]],17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[7,[[36,[34,7]]]],[10,[[7,[12]]]],[9],[9],[9],[[[18,[[0,[15,16]],17]]]],[[[18,[[0,[15,16]],17]]]],[[[18,[[0,[15,16]],17]]]],[[[19,[[0,[15,16]],17]]]],[[[20,[15]]]],[7],[7],[7],[[[23,[21,22]]]],[[]],[[[48,[[0,[15,16]]]]],[[0,[15,16]]]],[[[44,[[0,[15,16]]]]]],[[[23,[21,22]]],[[7,[21]]]],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[9,6],[[[18,[[0,[15,16]],17]]],6],[[[19,[[0,[15,16]],17]]],6],[[[20,[15]]],6],[7,6],[[[23,[21,22]]],6],[9,6],[7,6],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],6],[9,50],[[[18,[[0,[15,16]],17]]],[[51,[[0,[15,16]]]]]],[[[19,[[0,[15,16]],17]]],[[52,[[0,[15,16]]]]]],[[[20,[15]]],[[53,[15]]]],[[[23,[21,22]]],[[54,[21]]]],[9,55],[[[18,[[0,[15,16]],17]]],[[56,[[0,[15,16]]]]]],[[[20,[15]]],[[57,[15]]]],[[[23,[21,22]]],[[58,[21]]]],[[[44,[[0,[15,16]]]]],[[0,[15,16]]]],[[[48,[[0,[15,16]]]]],[[0,[15,16]]]],[[[18,[[0,[15,16]],17]]],59],[[[20,[15]]],59],[[[18,[[0,[15,16]],17]]],14],[[[19,[[0,[15,16]],17]]],[[14,[[0,[15,16]]]]]],[[[18,[[0,[15,16]],17]]],14],[9,4],[13,4],[[[18,[[0,[15,16]],17]]],4],[[[19,[[0,[15,16]],17]]],4],[[[20,[15]]],4],[[[23,[21,22]]],4],[[10,11],6],[[10,11],6],[[10,10],6],[[],9],[[],13],[[],[[18,[60]]]],[[],[[19,[60]]]],[[],20],[[],10],[[],7],[[],23],[[[0,[24,25]]],[[13,[[0,[24,25]]]]]],[26,14],[13,26],[[10,10],[[14,[27]]]],[[[7,[[61,[[61,[[61,[61]]]]]]]],[7,[[61,[[61,[[61,[61]]]]]]]]],[[14,[27]]]],[[[23,[21,22]]],[[14,[21]]]],[[[23,[21,22]]],[[14,[[62,[21,22]]]]]],[10,[[14,[63]]]],[7,14],[[[23,[21,22]]],[[14,[21]]]],[9,14],[9],[9,14],[9],[7],[[[23,[21,22]]],21],[10],[[10,63],36],[7,36],[[[23,[21,22]],21],[[36,[21]]]],[9,36],[9],[9,36],[9],[[10,11],36],[7],[[[23,[21,22]],21]],[13,14],[[[44,[[0,[15,16]]]]]],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[[19,[[29,[[0,[15,16,28]]]],[0,[15,16]],17]],[0,[15,16,28]]],6],[[[20,[[29,[[0,[15,28]]]],15]],[0,[15,28]]],14],[[7,4]],[[[44,[[0,[15,16]]]]]],[[[7,[25]],4,25],36],[[[7,[[0,[25,30]]]],4],36],[[7,64]],[[7,64]],[[7,4]],0,[[[7,[[32,[[32,[[32,[32]]]]]]]],[8,[[32,[[32,[[32,[32]]]]]]]]],6],[[[18,[[29,[[0,[16,15,28]]]],[0,[15,16]],17]],[0,[16,15,28]]],14],[[7,4]],[[7,4]],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],59],[[10,4]],[[7,4]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[[8,[25]]],[[36,[[7,[25]]]]]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[[19,[[0,[15,16]],17]],[19,[[0,[15,16]],17]]],59],[[[18,[[0,[15,16]],17]]],59],[[[20,[15]]],59],[[[18,[[0,[15,16]],17]]],59],[[[20,[15]]],59],[13],[[10,63],[[36,[39]]]],[[10,11],[[36,[39]]]],[[[7,[12]],11],[[36,[39]]]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[[62,[21,22]]],21],[[[62,[21,22]]],21],[[[62,[21,22]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[[62,[21,22]]],21],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[66,66],[67,67],[68,68],[[66,66],27],[[67,67],27],[[68,68],27],[[[71,[21,69,70]]]],[[[71,[21,69,70]]]],[[[72,[69]]]],[[[71,[21,69,70]]]],[[66,66],6],[[67,67],6],[[68,68],6],[[[72,[21,69,70]],64],[[14,[[71,[21,69,70]]]]]],[[[71,[21,69,70]]]],[[[72,[[0,[21,37]],69,70]],38],[[36,[39]]]],[[66,38],[[36,[39]]]],[[67,38],[[36,[39]]]],[[68,38],[[36,[39]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[72,[21,69,70]]],6],[[[72,[21,69,70]]],6],[[[72,[21,69,70]]],[[73,[21,69,70]]]],[[],[[72,[67]]]],[[],[[72,[66]]]],[[],[[72,[68]]]],[[[73,[21,69,70]]],14],[[66,66],[[14,[27]]]],[[67,67],[[14,[27]]]],[[68,68],[[14,[27]]]],[[[72,[21,69,70]]],[[14,[21]]]],[[[72,[21,69,70]]],[[36,[21]]]],[[[71,[21,69,70]]],21],[[[72,[21,69,70]]],21],[[[72,[21,69,70]],21],[[36,[21]]]],[[[72,[21,69,70]],21]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],[[],65],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[5,5],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[5,5],[74,74],[[5,5],27],[[74,74],27],[[21,21,21],21],[[]],[1],[[5,5],6],[[74,74],6],0,0,[[5,38],75],[[74,38],75],[[]],[[]],[[]],[[]],[76],[76],0,0,0,[[5,45]],[[74,45]],0,[76],[77],[[]],[[]],[[]],[[]],0,[42,76],[42,77],[[5,5],[[14,[27]]]],[[74,74],[[14,[27]]]],[[]],[[]],[[]],0,[76],[[2,2],2],[2,2],[77,12],0,[3,4],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],[[77,12]],0,[[77,12]],0,0,0,0,0,0,0,0,0,0,0,0,0,[78,6],[78],[78],[78],[78],[78],[78],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[78],[79,79],[[79,79],27],[[78,80,81],6],[[78,81,81],6],[[78,12,12,12]],[[78,12,12]],[78],[78],[[78,42,42,12,79]],[[78,42,42,12,79]],[[78,42,42,12,79]],[[78,42,42,79]],[[78,42,42,12,12,79]],[[78,42,42,12,12,12,79]],[[78,42,42,42,42,42,42,79]],[[79,79],6],[[78,12],6],[[78,42,42,12,79]],[[78,42,42,12,12,79]],[[78,42,42,12,12,12,79]],[[78,42,42,42,42,42,42,79]],[[78,6]],[[78,6]],[[79,38],75],[[]],[[]],[[]],[[]],[[78,12,12],79],[[79,45]],0,[78],[78],[[]],[[]],[[]],[[]],[[78,6]],[[78,5],6],[[78,5],6],[[],78],[78,6],[79],[[78,5],6],[[79,79],[[14,[27]]]],[78],[[78,5],6],[[78,82]],[[78,42,42]],[[78,42]],[[78,42]],[[78,12]],[[78,79]],[[78,79]],[[78,12]],[[78,6]],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],65],[[],65],[[],65],[[],65],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],83],[83],[83,6],[[83,43,1]],[[83,43,1,43,1]],[[83,43,1,43,1,43,1]],[[83,43]],[[83,1]],[[],36],[[],36],[[],65],[[83,12]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[42,42,12,12]],[[42,42,12,12,12,12]],[[42,42,12,12]],[[42,42,12,12]],[[42,42,12,12]],[[42,42,12,12]],[[42,42,12,12,12,12]],[[42,42,12,12]],[[42,42,12,12]],[[42,42,12,12]]],"c":[],"p":[[15,"u32"],[15,"i32"],[15,"i8"],[15,"usize"],[3,"ButtonSet"],[15,"bool"],[3,"Vec"],[15,"slice"],[3,"Deque"],[3,"String"],[15,"str"],[15,"u8"],[3,"HistoryBuffer"],[4,"Option"],[8,"Eq"],[8,"Hash"],[8,"BuildHasher"],[3,"IndexMap"],[3,"IndexSet"],[3,"LinearMap"],[8,"Ord"],[8,"Kind"],[3,"BinaryHeap"],[8,"Copy"],[8,"Clone"],[3,"OldestOrdered"],[4,"Ordering"],[8,"Sized"],[8,"Borrow"],[8,"Default"],[3,"Difference"],[8,"PartialEq"],[4,"Entry"],[15,"array"],[8,"IntoIterator"],[4,"Result"],[8,"Debug"],[3,"Formatter"],[3,"Error"],[15,"i64"],[15,"u64"],[15,"i16"],[15,"u16"],[3,"OccupiedEntry"],[8,"Hasher"],[8,"Hasher"],[8,"Hash"],[3,"VacantEntry"],[3,"Intersection"],[3,"Iter"],[3,"Iter"],[3,"Iter"],[3,"Iter"],[3,"Iter"],[3,"IterMut"],[3,"IterMut"],[3,"IterMut"],[3,"IterMut"],[8,"Iterator"],[3,"BuildHasherDefault"],[8,"PartialOrd"],[3,"PeekMut"],[15,"char"],[8,"FnMut"],[3,"TypeId"],[3,"LinkedIndexU8"],[3,"LinkedIndexU16"],[3,"LinkedIndexUsize"],[8,"SortedLinkedListIndex"],[8,"Kind"],[3,"FindMut"],[3,"SortedLinkedList"],[3,"Iter"],[4,"Base"],[6,"Result"],[3,"EEPROM"],[3,"EEPROMBYTE"],[3,"Arduboy2"],[4,"Color"],[3,"Point"],[3,"Rect"],[8,"Printable"],[3,"ArduboyTones"],[4,"Min"],[4,"Max"],[3,"Min"],[3,"Max"],[3,"Node"]]},\ "atomic_polyfill":{"doc":"","t":"RNNDDDENNNLLLLLLLLLLLLFLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLL","n":["ATOMIC_BOOL_INIT","AcqRel","Acquire","AtomicBool","AtomicI8","AtomicU8","Ordering","Relaxed","Release","SeqCst","as_ptr","as_ptr","as_ptr","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","compiler_fence","default","default","default","eq","fence","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_mut","from_mut","from_mut","from_mut_slice","from_mut_slice","from_mut_slice","from_ptr","from_ptr","from_ptr","get_mut","get_mut","get_mut","get_mut_slice","get_mut_slice","get_mut_slice","hash","into","into","into","into","into_inner","into_inner","into_inner","load","load","load","new","new","new","spin_loop_hint","store","store","store","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id"],"q":[[0,"atomic_polyfill"]],"d":["An AtomicBool initialized to false.","Has the effects of both Acquire and Release together: For …","When coupled with a load, if the loaded value was written …","A boolean type which can be safely shared between threads.","An integer type which can be safely shared between threads.","An integer type which can be safely shared between threads.","Atomic memory orderings","No ordering constraints, only atomic operations.","When coupled with a store, all previous operations become …","Like Acquire/Release/AcqRel (for load, store, and …","Returns a mutable pointer to the underlying bool.","Returns a mutable pointer to the underlying integer.","Returns a mutable pointer to the underlying integer.","","","","","","","","","","A compiler memory fence.","Creates an AtomicBool initialized to false.","","","","An atomic fence.","","","","","Converts a bool into an AtomicBool.","Returns the argument unchanged.","Returns the argument unchanged.","Converts an i8 into an AtomicI8.","Returns the argument unchanged.","Converts an u8 into an AtomicU8.","Returns the argument unchanged.","Get atomic access to a &mut bool.","Get atomic access to a &mut i8.","Get atomic access to a &mut u8.","Get atomic access to a &mut [bool] slice.","Get atomic access to a &mut [i8] slice.","Get atomic access to a &mut [u8] slice.","Creates a new AtomicBool from a pointer.","Creates a new reference to an atomic integer from a …","Creates a new reference to an atomic integer from a …","Returns a mutable reference to the underlying bool.","Returns a mutable reference to the underlying integer.","Returns a mutable reference to the underlying integer.","Get non-atomic access to a &mut [AtomicBool] slice.","Get non-atomic access to a &mut [AtomicI8] slice","Get non-atomic access to a &mut [AtomicU8] slice","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Consumes the atomic and returns the contained value.","Consumes the atomic and returns the contained value.","Consumes the atomic and returns the contained value.","Loads a value from the bool.","Loads a value from the atomic integer.","Loads a value from the atomic integer.","Creates a new AtomicBool.","Creates a new atomic integer.","Creates a new atomic integer.","Signals the processor that it is inside a busy-wait …","Stores a value into the bool.","Stores a value into the atomic integer.","Stores a value into the atomic integer.","","","","","","","","","","","",""],"i":[0,7,7,0,0,0,0,7,7,7,1,3,5,1,7,3,5,1,7,3,5,7,0,1,3,5,7,0,1,7,3,5,1,1,7,3,3,5,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,7,1,7,3,5,1,3,5,1,3,5,1,3,5,0,1,3,5,1,7,3,5,1,7,3,5,1,7,3,5],"f":[0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[5,6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[7,7],[7],[[],1],[[],3],[[],5],[[7,7],2],[7],[[1,8],[[10,[9]]]],[[7,8],[[10,[9]]]],[[3,8],[[10,[9]]]],[[5,8],[[10,[9]]]],[2,1],[[]],[[]],[4,3],[[]],[6,5],[[]],[2,1],[4,3],[6,5],[[[11,[2]]],[[11,[1]]]],[[[11,[4]]],[[11,[3]]]],[[[11,[6]]],[[11,[5]]]],[2,1],[4,3],[6,5],[1,2],[3,4],[5,6],[[[11,[1]]],[[11,[2]]]],[[[11,[3]]],[[11,[4]]]],[[[11,[5]]],[[11,[6]]]],[[7,12]],[[]],[[]],[[]],[[]],[1,2],[3,4],[5,6],[[1,7],2],[[3,7],4],[[5,7],6],[2,1],[4,3],[6,5],[[]],[[1,2,7]],[[3,4,7]],[[5,6,7]],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],13],[[],13],[[],13],[[],13]],"c":[0,68],"p":[[3,"AtomicBool"],[15,"bool"],[3,"AtomicI8"],[15,"i8"],[3,"AtomicU8"],[15,"u8"],[4,"Ordering"],[3,"Formatter"],[3,"Error"],[4,"Result"],[15,"slice"],[8,"Hasher"],[3,"TypeId"]]},\ "byteorder":{"doc":"This crate provides convenience methods for encoding and …","t":"GEIGEGGLLLLLLLLLLLLLLLLKLLKLLLLLLKLLKLLKLLKLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLKLLKLLLKLLKLLLKLLKLLKLLKLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLKLLKLLLKLLKLLLKLLKLLKLLKLL","n":["BE","BigEndian","ByteOrder","LE","LittleEndian","NativeEndian","NetworkEndian","borrow","borrow","borrow_mut","borrow_mut","clone","clone","cmp","cmp","default","default","eq","eq","fmt","fmt","from","from","from_slice_f32","from_slice_f32","from_slice_f32","from_slice_f64","from_slice_f64","from_slice_f64","from_slice_i128","from_slice_i16","from_slice_i32","from_slice_i64","from_slice_u128","from_slice_u128","from_slice_u128","from_slice_u16","from_slice_u16","from_slice_u16","from_slice_u32","from_slice_u32","from_slice_u32","from_slice_u64","from_slice_u64","from_slice_u64","hash","hash","into","into","partial_cmp","partial_cmp","read_f32","read_f32_into","read_f32_into_unchecked","read_f64","read_f64_into","read_f64_into_unchecked","read_i128","read_i128_into","read_i16","read_i16_into","read_i24","read_i32","read_i32_into","read_i48","read_i64","read_i64_into","read_int","read_int128","read_u128","read_u128","read_u128","read_u128_into","read_u128_into","read_u128_into","read_u16","read_u16","read_u16","read_u16_into","read_u16_into","read_u16_into","read_u24","read_u32","read_u32","read_u32","read_u32_into","read_u32_into","read_u32_into","read_u48","read_u64","read_u64","read_u64","read_u64_into","read_u64_into","read_u64_into","read_uint","read_uint","read_uint","read_uint128","read_uint128","read_uint128","try_from","try_from","try_into","try_into","type_id","type_id","write_f32","write_f32_into","write_f64","write_f64_into","write_i128","write_i128_into","write_i16","write_i16_into","write_i24","write_i32","write_i32_into","write_i48","write_i64","write_i64_into","write_i8_into","write_int","write_int128","write_u128","write_u128","write_u128","write_u128_into","write_u128_into","write_u128_into","write_u16","write_u16","write_u16","write_u16_into","write_u16_into","write_u16_into","write_u24","write_u32","write_u32","write_u32","write_u32_into","write_u32_into","write_u32_into","write_u48","write_u64","write_u64","write_u64","write_u64_into","write_u64_into","write_u64_into","write_uint","write_uint","write_uint","write_uint128","write_uint128","write_uint128"],"q":[[0,"byteorder"]],"d":["A type alias for BigEndian.","Defines big-endian serialization.","ByteOrder describes types that can serialize integers as …","A type alias for LittleEndian.","Defines little-endian serialization.","Defines system native-endian serialization.","Defines network byte order serialization.","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Converts the given slice of IEEE754 single-precision (4 …","","","Converts the given slice of IEEE754 double-precision (8 …","","","Converts the given slice of signed 128 bit integers to a …","Converts the given slice of signed 16 bit integers to a …","Converts the given slice of signed 32 bit integers to a …","Converts the given slice of signed 64 bit integers to a …","Converts the given slice of unsigned 128 bit integers to a …","","","Converts the given slice of unsigned 16 bit integers to a …","","","Converts the given slice of unsigned 32 bit integers to a …","","","Converts the given slice of unsigned 64 bit integers to a …","","","","","Calls U::from(self).","Calls U::from(self).","","","Reads a IEEE754 single-precision (4 bytes) floating point …","Reads IEEE754 single-precision (4 bytes) floating point …","DEPRECATED.","Reads a IEEE754 double-precision (8 bytes) floating point …","Reads IEEE754 single-precision (4 bytes) floating point …","DEPRECATED.","Reads a signed 128 bit integer from buf.","Reads signed 128 bit integers from src into dst.","Reads a signed 16 bit integer from buf.","Reads signed 16 bit integers from src to dst.","Reads a signed 24 bit integer from buf, stored in i32.","Reads a signed 32 bit integer from buf.","Reads signed 32 bit integers from src into dst.","Reads a signed 48 bit integer from buf, stored in i64.","Reads a signed 64 bit integer from buf.","Reads signed 64 bit integers from src into dst.","Reads a signed n-bytes integer from buf.","Reads a signed n-bytes integer from buf.","Reads an unsigned 128 bit integer from buf.","","","Reads unsigned 128 bit integers from src into dst.","","","Reads an unsigned 16 bit integer from buf.","","","Reads unsigned 16 bit integers from src into dst.","","","Reads an unsigned 24 bit integer from buf, stored in u32.","Reads an unsigned 32 bit integer from buf.","","","Reads unsigned 32 bit integers from src into dst.","","","Reads an unsigned 48 bit integer from buf, stored in u64.","Reads an unsigned 64 bit integer from buf.","","","Reads unsigned 64 bit integers from src into dst.","","","Reads an unsigned n-bytes integer from buf.","","","Reads an unsigned n-bytes integer from buf.","","","","","","","","","Writes a IEEE754 single-precision (4 bytes) floating point …","Writes IEEE754 single-precision (4 bytes) floating point …","Writes a IEEE754 double-precision (8 bytes) floating point …","Writes IEEE754 double-precision (8 bytes) floating point …","Writes a signed 128 bit integer n to buf.","Writes signed 128 bit integers from src into dst.","Writes a signed 16 bit integer n to buf.","Writes signed 16 bit integers from src into dst.","Writes a signed 24 bit integer n to buf, stored in i32.","Writes a signed 32 bit integer n to buf.","Writes signed 32 bit integers from src into dst.","Writes a signed 48 bit integer n to buf, stored in i64.","Writes a signed 64 bit integer n to buf.","Writes signed 64 bit integers from src into dst.","Writes signed 8 bit integers from src into dst.","Writes a signed integer n to buf using only nbytes.","Writes a signed integer n to buf using only nbytes.","Writes an unsigned 128 bit integer n to buf.","","","Writes unsigned 128 bit integers from src into dst.","","","Writes an unsigned 16 bit integer n to buf.","","","Writes unsigned 16 bit integers from src into dst.","","","Writes an unsigned 24 bit integer n to buf, stored in u32.","Writes an unsigned 32 bit integer n to buf.","","","Writes unsigned 32 bit integers from src into dst.","","","Writes an unsigned 48 bit integer n to buf, stored in u64.","Writes an unsigned 64 bit integer n to buf.","","","Writes unsigned 64 bit integers from src into dst.","","","Writes an unsigned integer n to buf using only nbytes.","","","Writes an unsigned integer n to buf using only nbytes.","",""],"i":[0,0,0,0,0,0,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,25,1,2,25,1,2,25,25,25,25,25,1,2,25,1,2,25,1,2,25,1,2,1,2,1,2,1,2,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,1,2,25,1,2,25,1,2,25,1,2,25,25,1,2,25,1,2,25,25,1,2,25,1,2,25,1,2,25,1,2,1,2,1,2,1,2,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,1,2,25,1,2,25,1,2,25,1,2,25,25,1,2,25,1,2,25,25,1,2,25,1,2,25,1,2,25,1,2],"f":[0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[1,1],[2,2],[[1,1],3],[[2,2],3],[[],1],[[],2],[[1,1],4],[[2,2],4],[[1,5],6],[[2,5],6],[[]],[[]],[[[8,[7]]]],[[[8,[7]]]],[[[8,[7]]]],[[[8,[9]]]],[[[8,[9]]]],[[[8,[9]]]],[[[8,[10]]]],[[[8,[11]]]],[[[8,[12]]]],[[[8,[13]]]],[[[8,[14]]]],[[[8,[14]]]],[[[8,[14]]]],[[[8,[15]]]],[[[8,[15]]]],[[[8,[15]]]],[[[8,[16]]]],[[[8,[16]]]],[[[8,[16]]]],[[[8,[17]]]],[[[8,[17]]]],[[[8,[17]]]],[[1,18]],[[2,18]],[[]],[[]],[[1,1],[[19,[3]]]],[[2,2],[[19,[3]]]],[[[8,[20]]],7],[[[8,[20]],[8,[7]]]],[[[8,[20]],[8,[7]]]],[[[8,[20]]],9],[[[8,[20]],[8,[9]]]],[[[8,[20]],[8,[9]]]],[[[8,[20]]],10],[[[8,[20]],[8,[10]]]],[[[8,[20]]],11],[[[8,[20]],[8,[11]]]],[[[8,[20]]],12],[[[8,[20]]],12],[[[8,[20]],[8,[12]]]],[[[8,[20]]],13],[[[8,[20]]],13],[[[8,[20]],[8,[13]]]],[[[8,[20]],21],13],[[[8,[20]],21],10],[[[8,[20]]],14],[[[8,[20]]],14],[[[8,[20]]],14],[[[8,[20]],[8,[14]]]],[[[8,[20]],[8,[14]]]],[[[8,[20]],[8,[14]]]],[[[8,[20]]],15],[[[8,[20]]],15],[[[8,[20]]],15],[[[8,[20]],[8,[15]]]],[[[8,[20]],[8,[15]]]],[[[8,[20]],[8,[15]]]],[[[8,[20]]],16],[[[8,[20]]],16],[[[8,[20]]],16],[[[8,[20]]],16],[[[8,[20]],[8,[16]]]],[[[8,[20]],[8,[16]]]],[[[8,[20]],[8,[16]]]],[[[8,[20]]],17],[[[8,[20]]],17],[[[8,[20]]],17],[[[8,[20]]],17],[[[8,[20]],[8,[17]]]],[[[8,[20]],[8,[17]]]],[[[8,[20]],[8,[17]]]],[[[8,[20]],21],17],[[[8,[20]],21],17],[[[8,[20]],21],17],[[[8,[20]],21],14],[[[8,[20]],21],14],[[[8,[20]],21],14],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[[8,[20]],7]],[[[8,[7]],[8,[20]]]],[[[8,[20]],9]],[[[8,[9]],[8,[20]]]],[[[8,[20]],10]],[[[8,[10]],[8,[20]]]],[[[8,[20]],11]],[[[8,[11]],[8,[20]]]],[[[8,[20]],12]],[[[8,[20]],12]],[[[8,[12]],[8,[20]]]],[[[8,[20]],13]],[[[8,[20]],13]],[[[8,[13]],[8,[20]]]],[[[8,[24]],[8,[20]]]],[[[8,[20]],13,21]],[[[8,[20]],10,21]],[[[8,[20]],14]],[[[8,[20]],14]],[[[8,[20]],14]],[[[8,[14]],[8,[20]]]],[[[8,[14]],[8,[20]]]],[[[8,[14]],[8,[20]]]],[[[8,[20]],15]],[[[8,[20]],15]],[[[8,[20]],15]],[[[8,[15]],[8,[20]]]],[[[8,[15]],[8,[20]]]],[[[8,[15]],[8,[20]]]],[[[8,[20]],16]],[[[8,[20]],16]],[[[8,[20]],16]],[[[8,[20]],16]],[[[8,[16]],[8,[20]]]],[[[8,[16]],[8,[20]]]],[[[8,[16]],[8,[20]]]],[[[8,[20]],17]],[[[8,[20]],17]],[[[8,[20]],17]],[[[8,[20]],17]],[[[8,[17]],[8,[20]]]],[[[8,[17]],[8,[20]]]],[[[8,[17]],[8,[20]]]],[[[8,[20]],17,21]],[[[8,[20]],17,21]],[[[8,[20]],17,21]],[[[8,[20]],14,21]],[[[8,[20]],14,21]],[[[8,[20]],14,21]]],"c":[53,56],"p":[[4,"BigEndian"],[4,"LittleEndian"],[4,"Ordering"],[15,"bool"],[3,"Formatter"],[6,"Result"],[15,"f32"],[15,"slice"],[15,"f64"],[15,"i128"],[15,"i16"],[15,"i32"],[15,"i64"],[15,"u128"],[15,"u16"],[15,"u32"],[15,"u64"],[8,"Hasher"],[4,"Option"],[15,"u8"],[15,"usize"],[4,"Result"],[3,"TypeId"],[15,"i8"],[8,"ByteOrder"]]},\ "critical_section":{"doc":"critical-section","t":"DIDGDFKLLLLLLLLLLLLLLLLLLLLLLLLLFKLLOLLLLLLLLLLF","n":["CriticalSection","Impl","Mutex","RawRestoreState","RestoreState","acquire","acquire","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_ref","borrow_ref_mut","clone","clone","fmt","fmt","fmt","from","from","from","get_mut","into","into","into","into_inner","invalid","new","new","release","release","replace","replace_with","set_impl","take","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","with"],"q":[[0,"critical_section"]],"d":["Critical section token.","Methods required for a critical section implementation.","A mutex based on critical sections.","Raw, transparent “restore state”.","Opaque “restore state”.","Acquire a critical section in the current thread.","Acquire the critical section.","Borrows the data for the duration of the critical section.","","","","","","","Borrow the data and call RefCell::borrow","Borrow the data and call RefCell::borrow_mut","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Gets a mutable reference to the contained value when the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Unwraps the contained value, consuming the mutex.","Create an invalid, dummy RestoreState.","Creates a new mutex.","Creates a critical section token.","Release the critical section.","Release the critical section.","Borrow the data and call RefCell::replace","Borrow the data and call RefCell::replace_with","Set the critical section implementation.","Borrow the data and call RefCell::take","","","","","","","","","","Execute closure f in a critical section."],"i":[0,0,0,0,0,0,15,3,3,4,1,3,4,1,3,3,4,1,3,4,1,3,4,1,3,3,4,1,3,1,3,4,0,15,3,3,0,3,3,4,1,3,4,1,3,4,1,0],"f":[0,0,0,0,0,[[],1],[[],2],[[3,4]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[5]],4],6],[[[3,[5]],4],7],[4,4],[1,1],[[[3,[8]],9],10],[[4,9],10],[[1,9],10],[[]],[[]],[[]],[3],[[]],[[]],[[]],[3],[[],1],[[],3],[[],4],[1],[2],[[[3,[5]],4]],[[[3,[5]],4,11]],0,[[[3,[[5,[12]]]],4],12],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],[[],14],[11]],"c":[],"p":[[3,"RestoreState"],[6,"RawRestoreState"],[3,"Mutex"],[3,"CriticalSection"],[3,"RefCell"],[3,"Ref"],[3,"RefMut"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[8,"FnOnce"],[8,"Default"],[4,"Result"],[3,"TypeId"],[8,"Impl"]]},\ diff --git a/docs/doc/src/arduboy_rust/library/arduboy2.rs.html b/docs/doc/src/arduboy_rust/library/arduboy2.rs.html index aef61bf..eb382ab 100644 --- a/docs/doc/src/arduboy_rust/library/arduboy2.rs.html +++ b/docs/doc/src/arduboy_rust/library/arduboy2.rs.html @@ -751,6 +751,7 @@ 751 752 753 +754

//! This is the Module to interact in a save way with the Arduboy2 C++ library.
 //!
 //! All of the functions are safe wrapped inside the [Arduboy2] struct.
@@ -1099,6 +1100,7 @@
     ///
     /// arduboy.print(b"Hello World\n\0"[..]); // Prints "Hello World" and then sets the
     ///                                        // text cursor to the start of the next line
+    /// arduboy.print(f!(b"Hello World\n")); // Prints "Hello World" but does not use the 2kb ram
     /// arduboy.print(value); // Prints "42"
     /// arduboy.print("\n\0"); // Sets the text cursor to the start of the next line
     /// arduboy.print("hello world") // Prints normal [&str]
diff --git a/docs/doc/src/arduboy_rust/library/progmem.rs.html b/docs/doc/src/arduboy_rust/library/progmem.rs.html
index 0b31665..a61c17d 100644
--- a/docs/doc/src/arduboy_rust/library/progmem.rs.html
+++ b/docs/doc/src/arduboy_rust/library/progmem.rs.html
@@ -244,7 +244,7 @@
 /// This automatically saves the given text to the Progmem.
 /// ## Example
 /// ```
-/// arduboy.print(f!(b"Random text to print"))
+/// arduboy.print(f!(b"Random text to print\0"))
 /// ```
 #[macro_export]
 macro_rules! f {
diff --git a/docs/doc/src/arduboy_rust/print.rs.html b/docs/doc/src/arduboy_rust/print.rs.html
index 5c5cfde..ca1e8c2 100644
--- a/docs/doc/src/arduboy_rust/print.rs.html
+++ b/docs/doc/src/arduboy_rust/print.rs.html
@@ -114,6 +114,17 @@
 114
 115
 116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
 
use crate::prelude::Pstring;
 use core::ffi::c_int;
 
@@ -218,6 +229,17 @@
 
     fn default_parameters() -> Self::Parameters {}
 }
+impl<const N: usize> Printable for crate::heapless::String<N> {
+    type Parameters = ();
+
+    fn print_2(self, _params: Self::Parameters) {
+        unsafe {
+            crate::library::arduboy2::print_chars(self.as_bytes() as *const [u8] as *const i8);
+        }
+    }
+
+    fn default_parameters() -> Self::Parameters {}
+}
 
 impl Printable for Pstring {
     type Parameters = ();