pub struct FileAssociations { /* private fields */ }
Implementations§
source§impl FileAssociations
impl FileAssociations
pub fn new(assets: impl AssetSource) -> Self
pub fn get_icon(path: &Path, cx: &AppContext) -> Arc<str>
pub fn get_folder_icon(expanded: bool, cx: &AppContext) -> Arc<str>
pub fn get_chevron_icon(expanded: bool, cx: &AppContext) -> Arc<str>
Trait Implementations§
source§impl Debug for FileAssociations
impl Debug for FileAssociations
source§impl<'de> Deserialize<'de> for FileAssociations
impl<'de> Deserialize<'de> for FileAssociations
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 RefUnwindSafe for FileAssociations
impl Send for FileAssociations
impl Sync for FileAssociations
impl Unpin for FileAssociations
impl UnwindSafe for FileAssociations
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