pub struct Font { /* private fields */ }Implementations§
Source§impl Font
impl Font
pub fn is_font_system_installed(&mut self) -> bool
pub fn is_font_user_installed(&mut self) -> bool
pub fn is_font_memory_installed(&mut self) -> bool
pub fn is_font_installed(&mut self) -> bool
pub fn get_local_system_variants(&mut self) -> Vec<String>
pub fn get_local_user_variants(&mut self) -> Vec<String>
pub fn get_local_memory_variants(&mut self) -> Vec<String>
pub fn get_local_system_files(&mut self) -> HashMap<String, PathBuf>
pub fn get_local_user_files(&mut self) -> HashMap<String, PathBuf>
pub fn get_local_memory_files(&mut self) -> HashMap<String, PathBuf>
pub fn get_local_system_last_modified(&mut self) -> DateTime<Utc>
pub fn get_local_user_last_modified(&mut self) -> DateTime<Utc>
pub fn get_local_memory_last_modified(&mut self) -> DateTime<Utc>
pub fn get_local_system_font_family(&mut self) -> String
pub fn get_local_user_font_family(&mut self) -> String
pub fn get_local_memory_font_family(&mut self) -> String
pub fn is_font_in_repo(&self, repo: &str) -> bool
pub fn get_repos_availability(&self) -> Option<Vec<String>>
pub fn get_repo_variants(&self, repo: &str) -> Option<Vec<String>>
pub fn get_repo_files(&self, repo: &str) -> Option<HashMap<String, String>>
pub fn get_repo_last_modified(&self, repo: &str) -> Option<DateTime<Utc>>
pub fn get_repo_family(&self, repo: &str) -> Option<String>
pub fn get_repo_subsets(&self, repo: &str) -> Option<Vec<String>>
pub fn get_repo_version(&self, repo: &str) -> Option<String>
pub fn get_repo_commentary(&self, repo: &str) -> Option<String>
pub fn get_repo_creator(&self, repo: &str) -> Option<String>
pub fn get_all_repos_with_update_user(&mut self) -> Option<Vec<String>>
pub fn get_all_repos_with_update_system(&mut self) -> Option<Vec<String>>
pub fn is_update_available_user(&mut self) -> bool
pub fn is_update_available_system(&mut self) -> bool
pub fn get_first_available_repo(&self) -> Option<String>
pub fn uninstall_from_user(&mut self, output: bool) -> Result<()>
pub fn uninstall_from_system(&mut self, output: bool) -> Result<()>
pub fn download( &self, repo: Option<&str>, download_path: &PathBuf, output: bool, ) -> Result<()>
pub fn output_paths(&self, repo: Option<&str>, path: &PathBuf) -> Vec<PathBuf>
pub fn install_to_user( &mut self, repo: Option<&str>, output: bool, ) -> Result<()>
Trait Implementations§
impl StructuralPartialEq for Font
Auto Trait Implementations§
impl Freeze for Font
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
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