pub struct RenameEdits {
pub new_path: PathBuf,
pub new_stem: String,
pub id_will_update: bool,
pub backlink_edits: Vec<(PathBuf, Vec<(LocatedLink, String)>)>,
}Expand description
Exact text changes required for backlink rewrites during a note rename.
Fields§
§new_path: PathBuf§new_stem: String§id_will_update: bool§backlink_edits: Vec<(PathBuf, Vec<(LocatedLink, String)>)>Notes with backlinks that would be rewritten, sorted by path.
Auto Trait Implementations§
impl Freeze for RenameEdits
impl RefUnwindSafe for RenameEdits
impl Send for RenameEdits
impl Sync for RenameEdits
impl Unpin for RenameEdits
impl UnsafeUnpin for RenameEdits
impl UnwindSafe for RenameEdits
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more