Skip to main content

IconExt

Trait IconExt 

Source
pub trait IconExt: IsA<Icon> + 'static {
Show 14 methods // Provided methods fn filename(&self) -> Option<GString> { ... } fn height(&self) -> u32 { ... } fn kind(&self) -> IconKind { ... } fn name(&self) -> Option<GString> { ... } fn scale(&self) -> u32 { ... } fn url(&self) -> Option<GString> { ... } fn width(&self) -> u32 { ... } fn set_filename(&self, filename: &str) { ... } fn set_height(&self, height: u32) { ... } fn set_kind(&self, kind: IconKind) { ... } fn set_name(&self, name: &str) { ... } fn set_scale(&self, scale: u32) { ... } fn set_url(&self, url: &str) { ... } fn set_width(&self, width: u32) { ... }
}

Provided Methods§

Source

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

Source

fn height(&self) -> u32

Source

fn kind(&self) -> IconKind

Source

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

Source

fn scale(&self) -> u32

Source

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

Source

fn width(&self) -> u32

Source

fn set_filename(&self, filename: &str)

Source

fn set_height(&self, height: u32)

Source

fn set_kind(&self, kind: IconKind)

Source

fn set_name(&self, name: &str)

Source

fn set_scale(&self, scale: u32)

Source

fn set_url(&self, url: &str)

Source

fn set_width(&self, width: u32)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<O: IsA<Icon>> IconExt for O