moonbit-community/rabbita/common does not have a README file

    type Id derive(Compare, Eq, Hash)

    impl Show for Id

    InstId

    type InstId derive(Eq, Hash)

    Keyboard

    Keyboard::alt_key

    fn Keyboard::alt_key(self : Keyboard) -> Bool

    Keyboard::code

    fn Keyboard::code(self : Keyboard) -> String

    Keyboard::ctrl_key

    fn Keyboard::ctrl_key(self : Keyboard) -> Bool

    Keyboard::is_composing

    fn Keyboard::is_composing(self : Keyboard) -> Bool

    Keyboard::key

    fn Keyboard::key(self : Keyboard) -> String

    Keyboard::location

    fn Keyboard::location(self : Keyboard) -> Int

    Keyboard::meta_key

    fn Keyboard::meta_key(self : Keyboard) -> Bool

    Keyboard::new

    fn Keyboard::new(key~ : String, code~ : String, alt_key~ : Bool, ctrl_key~ : Bool, shift_key~ : Bool, meta_key~ : Bool, is_composing~ : Bool, repeat~ : Bool, location~ : Int) -> Keyboard

    Keyboard::repeat

    fn Keyboard::repeat(self : Keyboard) -> Bool

    Keyboard::shift_key

    fn Keyboard::shift_key(self : Keyboard) -> Bool

    Mouse

    Mouse::client_pos

    fn Mouse::client_pos(self : Mouse) -> Pos

    Mouse::new

    fn Mouse::new(screen~ : Pos, offset~ : Pos, client~ : Pos) -> Mouse

    Mouse::offset_pos

    fn Mouse::offset_pos(self : Mouse) -> Pos

    Mouse::screen_pos

    fn Mouse::screen_pos(self : Mouse) -> Pos

    Pos

    pub(all) struct Pos {
    x : Int
    y : Int
    } derive(
    Debug
    )

    impl Show for Pos

    Scroll

    Scroll::height

    fn Scroll::height(self : Scroll) -> Int

    Scroll::new

    fn Scroll::new(offset~ : Pos, width~ : Int, height~ : Int) -> Scroll

    Scroll::offset_pos

    fn Scroll::offset_pos(self : Scroll) -> Pos

    Scroll::width

    fn Scroll::width(self : Scroll) -> Int

    Viewport

    pub(all) struct Viewport {
    width : Int
    height : Int
    } derive(
    Debug
    )

    impl Show for Viewport

    Source Files