pub struct DefaultPlatformAPI;Implementations§
Trait Implementations§
Source§impl Debug for DefaultPlatformAPI
impl Debug for DefaultPlatformAPI
Source§impl Default for DefaultPlatformAPI
impl Default for DefaultPlatformAPI
Source§impl PlatformAPI for DefaultPlatformAPI
impl PlatformAPI for DefaultPlatformAPI
Source§fn show_input_dialog(&self, _text: &str) -> Result<String, NativeError>
fn show_input_dialog(&self, _text: &str) -> Result<String, NativeError>
This method is not implemented
Source§fn get_lang_files(&self, lang_path: &Path) -> Result<Vec<PathBuf>, Error>
fn get_lang_files(&self, lang_path: &Path) -> Result<Vec<PathBuf>, Error>
@param langPath Path to the folder
@return Return all files inside the folder located at langPath
Source§fn get_lang_path(&self, lang_file: &Path) -> Result<PathBuf, Error>
fn get_lang_path(&self, lang_file: &Path) -> Result<PathBuf, Error>
@param langFile Path to the file
@return Return the canonical path of the file located at langFile
Source§fn get_lang_file_name(&self, lang_file: &Path) -> Option<OsString>
fn get_lang_file_name(&self, lang_file: &Path) -> Option<OsString>
@param langFile Path to the file
@return Return the file name of the file located at langFile
Source§fn get_lang_buffered_reader(
&self,
lang_file: &Path,
) -> Result<Box<dyn BufRead>, Error>
fn get_lang_buffered_reader( &self, lang_file: &Path, ) -> Result<Box<dyn BufRead>, Error>
@param langFile Path to the file
@return Return a reader for the file
Auto Trait Implementations§
impl Freeze for DefaultPlatformAPI
impl RefUnwindSafe for DefaultPlatformAPI
impl Send for DefaultPlatformAPI
impl Sync for DefaultPlatformAPI
impl Unpin for DefaultPlatformAPI
impl UnwindSafe for DefaultPlatformAPI
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