// GENERATED — DO NOT EDIT

///|
/// [Upstream documentation](https://gnome.pages.gitlab.gnome.org/pango/Pango/struct.AttrFontDesc.html).
pub type AttrFontDesc

///|
pub(open) trait IAttrFontDesc {
  fn as_attr_font_desc(Self) -> AttrFontDesc
}

///|
pub impl IAttrFontDesc for AttrFontDesc with fn as_attr_font_desc(self) {
  self
}

///|
#borrow(desc)
extern "c" fn moonbit_pango_attr_font_desc_new(
  desc : FontDescription,
) -> Attribute = "moonbit_pango_attr_font_desc_new"

///|
/// [Upstream documentation](https://gnome.pages.gitlab.gnome.org/pango/Pango/type_func.AttrFontDesc.new.html).
pub fn AttrFontDesc::new(desc : FontDescription) -> Attribute {
  moonbit_pango_attr_font_desc_new(desc)
}

///|
/// [Upstream documentation](https://gnome.pages.gitlab.gnome.org/pango/Pango/struct.AttrFontDesc.html).
#borrow(self_)
pub extern "c" fn AttrFontDesc::get_attr(self_ : AttrFontDesc) -> Attribute = "moonbit_pango_attr_font_desc_attr_get"

///|
/// [Upstream documentation](https://gnome.pages.gitlab.gnome.org/pango/Pango/struct.AttrFontDesc.html).
#borrow(self_)
pub extern "c" fn AttrFontDesc::get_desc(
  self_ : AttrFontDesc,
) -> FontDescription = "moonbit_pango_attr_font_desc_desc_get"