[][src]Struct icon_loader::IconDir

pub struct IconDir { /* fields omitted */ }

Struct that holds information about a directory containing a set of icons with a particular size.

Implementations

impl IconDir[src]

pub fn path(&self) -> &Path[src]

Returns the path of this icon dir.

pub const fn size(&self) -> u16[src]

Returns the size of the icons contained.

pub const fn scale(&self) -> u16[src]

Returns the scale of the icons contained.

pub fn context(&self) -> Option<&str>[src]

Returns the context of the icons contained.

pub const fn size_type(&self) -> IconSizeType[src]

Returns the type of icon sizes contained.

pub fn max_size(&self) -> u16[src]

Returns the max size of icons contained.

pub fn min_size(&self) -> u16[src]

Returns the min size of icons contained.

pub fn threshold(&self) -> u16[src]

Returns the threshold of icons contained.

Trait Implementations

impl Clone for IconDir[src]

impl Debug for IconDir[src]

impl Eq for IconDir[src]

impl Hash for IconDir[src]

impl PartialEq<IconDir> for IconDir[src]

impl StructuralEq for IconDir[src]

impl StructuralPartialEq for IconDir[src]

Auto Trait Implementations

impl RefUnwindSafe for IconDir

impl Send for IconDir

impl Sync for IconDir

impl Unpin for IconDir

impl UnwindSafe for IconDir

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,