pango::prelude

Trait IsAttribute

Source
pub unsafe trait IsAttribute:
    FromGlibPtrFull<*const PangoAttribute>
    + FromGlibPtrFull<*mut PangoAttribute>
    + AsRef<Attribute>
    + 'static {
    const ATTR_TYPES: &'static [AttrType];

    // Required methods
    fn upcast(self) -> Attribute;
    fn upcast_ref(&self) -> &Attribute;
}

Required Associated Constants§

Source

const ATTR_TYPES: &'static [AttrType]

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§