pub struct IconConfig {
pub directory: String,
pub executable: String,
pub regular: String,
pub colors: IconColorConfig,
}Fields§
§directory: String§executable: String§regular: String§colors: IconColorConfigImplementations§
Source§impl IconConfig
impl IconConfig
pub fn get_directory_icon(&self) -> String
pub fn get_executable_icon(&self) -> String
pub fn get_regular_icon(&self) -> String
Trait Implementations§
Source§impl Clone for IconConfig
impl Clone for IconConfig
Source§fn clone(&self) -> IconConfig
fn clone(&self) -> IconConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IconConfig
impl Debug for IconConfig
Source§impl Default for IconConfig
impl Default for IconConfig
Source§impl<'de> Deserialize<'de> for IconConfig
impl<'de> Deserialize<'de> for IconConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IconConfig
impl RefUnwindSafe for IconConfig
impl Send for IconConfig
impl Sync for IconConfig
impl Unpin for IconConfig
impl UnwindSafe for IconConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more