Struct webicon::IconCollection
[−]
[src]
pub struct IconCollection { /* fields omitted */ }
Methods
impl IconCollection
[src]
pub fn at_least(self, width: u32, height: u32) -> Option<Icon>
[src]
Return an icon that is at least of the given dimensions
If there's only one icon available, it will return that icon. If there's no icon available, None is returned.
pub fn largest(self) -> Option<Icon>
[src]
Return the largest icon
pub fn into_raw_parts(self) -> Vec<Icon>
[src]
[unstable] Give up ownership of the inner datastructure: A vector of icons, sorted ascendingly by size