Files
chandra/components/clock-binary/gen/interface/moonplasma/desktop/plasmoid/pkg.generated.mbti
T
2026-11-24 23:51:26 +00:00

43 lines
782 B
Plaintext

// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/components/clock-binary/gen/interface/moonplasma/desktop/plasmoid"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
}
// Values
pub fn info() -> PlasmoidInfo
pub fn on_event(Surface, @types.InputEvent) -> Bool
pub fn popup() -> PopupSurface?
pub fn render(@types.Size) -> Array[@types.DrawOp]
// Errors
// Types and methods
pub(all) struct PlasmoidInfo {
id : String
name : String
preferred : @types.Size
min_width : UInt32
stretch : Bool
}
pub(all) struct PopupSurface {
size : @types.Size
ops : Array[@types.DrawOp]
}
pub(all) enum Surface {
WIDGET
POPUP
}
pub fn Surface::from(Int32) -> Self
pub fn Surface::ordinal(Self) -> Int32
// Type aliases
// Traits