Sign in

    furesoft/moos-sdk/types does not have a README file

    Accessor

    pub struct Accessor {
    type_ : String
    uuid : String?
    id : String?
    }

    impl Eq for Accessor
    impl Show for Accessor

    Accessor::new

    fn Accessor::new(_type : String, uuid : String) -> Accessor

    Accessor::to_json

    fn Accessor::to_json(self : Accessor) -> Json

    Color

    pub struct Color {
    r : Int
    g : Int
    b : Int
    a : Int
    }

    impl Default for Color
    impl Eq for Color
    impl Show for Color
    impl ToJson for Color

    Color::adjust_alpha

    fn Color::adjust_alpha(self : Color, new_alpha : Int) -> Color

    Color::adjust_brightness

    fn Color::adjust_brightness(self : Color, factor : Int) -> Color

    Color::from_hex

    fn Color::from_hex(hex : String) -> Color?

    Color::from_hls

    fn Color::from_hls(hue : Double, lighting : Double, saturation : Double, alpha~ : Int = ..) -> Color

    Color::invert

    fn Color::invert(self : Color) -> Color

    Color::new

    fn Color::new(r : Int, g : Int, b : Int, a : Int) -> Color

    ConfigGet

    pub struct ConfigGet[T] {
    value : T
    }

    impl Eq for ConfigGet[T]
    impl Show for ConfigGet[T]
    impl ToJson for ConfigGet[T]

    ConfigSet

    pub struct ConfigSet[T] {
    key : String
    value : T
    }

    impl Eq for ConfigSet[T]
    impl Show for ConfigSet[T]
    impl ToJson for ConfigSet[T]

    ConfigSet::new

    fn ConfigSet::new[T](key : String, value : T) -> ConfigSet[T]

    ContextButton

    pub struct ContextButton {
    text : String
    icon : String
    context_icon : String
    action : String
    context_menu : String
    }

    impl Eq for ContextButton

    ContextButton::new

    ExtensionInfo

    pub(all) struct ExtensionInfo {
    files : Array[File]
    }

    File

    pub(all) struct File {
    key : String
    path : String
    }

    impl Show for File
    impl ToJson for File

    State

    pub struct State {
    width : Int
    height : Int
    current_screen : String
    opened_context_menus : Array[String]
    icons : Array[String]
    }

    impl Eq for State
    impl Show for State
    impl ToJson for State

    State::new

    fn State::new() -> State

    TextColor

    pub struct TextColor {
    foreground : Color
    background : Color
    }

    impl Eq for TextColor
    impl Show for TextColor
    impl ToJson for TextColor

    TextColor::new

    fn TextColor::new() -> TextColor

    to_json

    fn to_json(self : Accessor) -> Json

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io