Struct interface_builder::Page

source ·
pub struct Page { /* private fields */ }

Implementations§

Examples found in repository?
src/lib.rs (lines 50-55)
49
50
51
52
53
54
55
56
57
58
59
60
  pub fn run_hello_builder(&self) {
    self.print_page(&Page::new(
      Some("Hello builder"),
      vec!["Welcome to Interface Builder"],
      Some(vec!["Press ESC to exit..."]),
      37, None
    ));

    builder::await_key_code(KeyCode::Esc);

    builder::tools::clear_terminal();
  }

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.