Skip to main content

LayoutExt

Trait LayoutExt 

Source
pub trait LayoutExt: IsA<Layout> + 'static {
    // Provided methods
    fn description(&self) -> Option<GString> { ... }
    fn name(&self) -> Option<GString> { ... }
    fn short_description(&self) -> Option<GString> { ... }
}
Expand description

Trait containing all Layout methods.

§Implementors

Layout

Provided Methods§

Source

fn description(&self) -> Option<GString>

Get the long description of a layout.

§Returns

A long description of the layout

Source

fn name(&self) -> Option<GString>

Get the name of a layout.

§Returns

The name of the layout

Source

fn short_description(&self) -> Option<GString>

Get the short description of a layout.

§Returns

A short description of the layout

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§

Source§

impl<O: IsA<Layout>> LayoutExt for O