pub struct idman { /* private fields */ }
Implementations§
Source§impl idman
impl idman
Sourcepub fn set_idm_path(&mut self, idm_path: &Path)
pub fn set_idm_path(&mut self, idm_path: &Path)
Set the path to the IDMan executable. Give this func a full path, with the .exe at the end. This function is optional, the default IDMan.exe path is the default install location.
Sourcepub fn set_mode(&mut self, mode: Mode)
pub fn set_mode(&mut self, mode: Mode)
Set the download mode. This function is optional, the default mode is default.
Sourcepub fn set_download_file_url(&mut self, url: &str)
pub fn set_download_file_url(&mut self, url: &str)
Set the url to the file.
Sourcepub fn set_download_file_path(&mut self, file_path: &Path)
pub fn set_download_file_path(&mut self, file_path: &Path)
Set the path where the file will be downloaded. This function is optional, the default download path is handled by IDM.
Sourcepub fn set_download_file_name(&mut self, file_name: &str)
pub fn set_download_file_name(&mut self, file_name: &str)
Set the file name, don’t forget to add extension at the end. If not set, IDM will detect it automatically. This function is optional, the default file name is handled by IDM.
Auto Trait Implementations§
impl Freeze for idman
impl RefUnwindSafe for idman
impl Send for idman
impl Sync for idman
impl Unpin for idman
impl UnwindSafe for idman
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