pub struct ProgramPath { /* private fields */ }Expand description
Program path inside a Ghidra project.
Implementations§
Source§impl ProgramPath
impl ProgramPath
Sourcepub fn new(folder: impl Into<String>, name: impl Into<String>) -> Result<Self>
pub fn new(folder: impl Into<String>, name: impl Into<String>) -> Result<Self>
Creates a project path from a folder and program name.
Sourcepub fn from_project_path(path: impl AsRef<str>) -> Result<Self>
pub fn from_project_path(path: impl AsRef<str>) -> Result<Self>
Parses a full project path such as /folder/program.
Sourcepub fn as_project_path(&self) -> String
pub fn as_project_path(&self) -> String
Returns the full Ghidra project path.
Trait Implementations§
Source§impl Clone for ProgramPath
impl Clone for ProgramPath
Source§fn clone(&self) -> ProgramPath
fn clone(&self) -> ProgramPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgramPath
impl Debug for ProgramPath
Source§impl Display for ProgramPath
impl Display for ProgramPath
Source§impl PartialEq for ProgramPath
impl PartialEq for ProgramPath
Source§fn eq(&self, other: &ProgramPath) -> bool
fn eq(&self, other: &ProgramPath) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProgramPath
impl StructuralPartialEq for ProgramPath
Auto Trait Implementations§
impl Freeze for ProgramPath
impl RefUnwindSafe for ProgramPath
impl Send for ProgramPath
impl Sync for ProgramPath
impl Unpin for ProgramPath
impl UnsafeUnpin for ProgramPath
impl UnwindSafe for ProgramPath
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