Struct binaryninja::project::ProjectFolder
source · pub struct ProjectFolder { /* private fields */ }
Implementations§
source§impl ProjectFolder
impl ProjectFolder
sourcepub fn set_name<S: BnStrCompatible>(&self, value: S) -> bool
pub fn set_name<S: BnStrCompatible>(&self, value: S) -> bool
Set the name of this folder
sourcepub fn description(&self) -> BnString
pub fn description(&self) -> BnString
Get the description of this folder
sourcepub fn set_description<S: BnStrCompatible>(&self, value: S) -> bool
pub fn set_description<S: BnStrCompatible>(&self, value: S) -> bool
Set the description of this folder
sourcepub fn parent(&self) -> Option<ProjectFolder>
pub fn parent(&self) -> Option<ProjectFolder>
Get the folder that contains this folder
sourcepub fn set_folder(&self, folder: Option<&ProjectFolder>) -> bool
pub fn set_folder(&self, folder: Option<&ProjectFolder>) -> bool
Set the folder that contains this folder
sourcepub fn export<S: BnStrCompatible>(&self, dest: S) -> bool
pub fn export<S: BnStrCompatible>(&self, dest: S) -> bool
Recursively export this folder to disk, returns `true’ if the export succeeded
dest
- Destination path for the exported contents
sourcepub fn export_with_progress<S, F>(&self, dest: S, progress: F) -> bool
pub fn export_with_progress<S, F>(&self, dest: S, progress: F) -> bool
Recursively export this folder to disk, returns `true’ if the export succeeded
dest
- Destination path for the exported contentsprogress_func
- Progress function that will be called as contents are exporting
Trait Implementations§
source§impl Clone for ProjectFolder
impl Clone for ProjectFolder
source§impl CoreArrayProvider for ProjectFolder
impl CoreArrayProvider for ProjectFolder
Auto Trait Implementations§
impl RefUnwindSafe for ProjectFolder
impl !Send for ProjectFolder
impl !Sync for ProjectFolder
impl Unpin for ProjectFolder
impl UnwindSafe for ProjectFolder
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