[−][src]Enum icon_loader::SearchPaths
Enum that provides a list of directories to IconLoader
to search for icons in.
Variants
Uses the xdg
crate for system icon paths.
A custom set of paths.
Implementations
impl SearchPaths
[src]
pub fn custom<I, P>(iter: I) -> Self where
I: IntoIterator<Item = P>,
P: Into<PathBuf>,
[src]
I: IntoIterator<Item = P>,
P: Into<PathBuf>,
Creates a custom SearchPaths
from a list of directories.
Trait Implementations
impl Clone for SearchPaths
[src]
fn clone(&self) -> SearchPaths
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SearchPaths
[src]
impl Eq for SearchPaths
[src]
impl<I, P> From<I> for SearchPaths where
I: IntoIterator<Item = P>,
P: Into<PathBuf>,
[src]
I: IntoIterator<Item = P>,
P: Into<PathBuf>,
impl PartialEq<SearchPaths> for SearchPaths
[src]
fn eq(&self, other: &SearchPaths) -> bool
[src]
fn ne(&self, other: &SearchPaths) -> bool
[src]
impl StructuralEq for SearchPaths
[src]
impl StructuralPartialEq for SearchPaths
[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchPaths
impl Send for SearchPaths
impl Sync for SearchPaths
impl Unpin for SearchPaths
impl UnwindSafe for SearchPaths
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,