mirror of
https://github.com/danbulant/icon
synced 2026-05-19 04:08:36 +00:00
Fill out the quick-start example
This commit is contained in:
parent
1ac1003d31
commit
9411ec941d
1 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,10 @@
|
|||
//!
|
||||
//! ```
|
||||
//! let icons = icon::Icons::new();
|
||||
//! // TODO.
|
||||
//!
|
||||
//! let firefox: Option<icon::IconFile> = icons.find_icon("firefox", 128, 1, "Adwaita");
|
||||
//!
|
||||
//! println!("Firefox icon is at {:?}", firefox.unwrap().path)
|
||||
//! ```
|
||||
//!
|
||||
//! # High level design
|
||||
|
|
@ -60,5 +63,6 @@ mod icon;
|
|||
mod search;
|
||||
pub mod theme;
|
||||
|
||||
pub use icon::*;
|
||||
pub use search::*;
|
||||
pub use theme::Icons;
|
||||
|
|
|
|||
Loading…
Reference in a new issue