// Generated using `moon info`, DON'T EDIT IT package "experiments/gpui/font" import { "moonbitlang/core/debug", } // Values pub fn font(String) -> Font pub let font_weight_black : FontWeight pub let font_weight_bold : FontWeight pub let font_weight_extra_bold : FontWeight pub let font_weight_extra_light : FontWeight pub let font_weight_light : FontWeight pub let font_weight_medium : FontWeight pub let font_weight_normal : FontWeight pub let font_weight_semibold : FontWeight pub let font_weight_thin : FontWeight pub let system_ui_font : String // Errors // Types and methods #derive(Eq, Hash, @debug.Debug) pub(all) struct Font { family : String features : FontFeatures fallbacks : FontFallbacks? weight : FontWeight style : FontStyle } pub fn Font::bold(Self) -> Self pub fn Font::italic(Self) -> Self pub impl Default for Font #derive(Default, Eq, Hash, @debug.Debug) pub(all) struct FontFallbacks(Array[String]) pub fn FontFallbacks::fallback_list(Self) -> Array[String] pub fn FontFallbacks::from_fonts(Array[String]) -> Self #derive(Default, Eq, Hash, @debug.Debug) pub(all) struct FontFeatures(Array[(String, Int32)]) pub fn FontFeatures::disable_ligatures() -> Self pub fn FontFeatures::is_calt_enabled(Self) -> Bool? pub fn FontFeatures::tag_value_list(Self) -> Array[(String, Int32)] #derive(Eq, Hash, @debug.Debug) pub(all) enum FontStyle { Normal Italic Oblique } pub impl Default for FontStyle #derive(Compare, Eq, Hash, @debug.Debug) pub(all) struct FontWeight(Double) pub impl Default for FontWeight pub impl Show for FontWeight // Type aliases // Traits