pub struct PackageJsonParser;Trait Implementations§
Source§impl Parser for PackageJsonParser
impl Parser for PackageJsonParser
fn version_match_regex() -> Result<Regex>
fn filename_match_regex() -> Result<Regex>
fn version_line_format(version: &Version) -> Result<String>
fn update_version( path: impl AsRef<Path>, version: &Version, options: &WalkOptions, ) -> Result<Vec<PathBuf>>
fn increment_version( path: impl AsRef<Path>, options: &WalkOptions, ) -> Result<Vec<PathBuf>>
fn get_current_version( path: impl AsRef<Path>, options: &WalkOptions, ) -> Result<Version>
fn get_matching_files( path: impl AsRef<Path>, options: &WalkOptions, ) -> Result<Vec<PathBuf>>
Auto Trait Implementations§
impl Freeze for PackageJsonParser
impl RefUnwindSafe for PackageJsonParser
impl Send for PackageJsonParser
impl Sync for PackageJsonParser
impl Unpin for PackageJsonParser
impl UnwindSafe for PackageJsonParser
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