pub struct NoteFolder {
pub root: PathBuf,
pub name: String,
}
Fields§
§root: PathBuf
§name: String
Implementations§
Source§impl NoteFolder
impl NoteFolder
pub fn from_workspace_folder(workspace_folder: &WorkspaceFolder) -> NoteFolder
pub fn from_root_path(root: &Path) -> NoteFolder
Trait Implementations§
Source§impl Clone for NoteFolder
impl Clone for NoteFolder
Source§fn clone(&self) -> NoteFolder
fn clone(&self) -> NoteFolder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NoteFolder
impl RefUnwindSafe for NoteFolder
impl Send for NoteFolder
impl Sync for NoteFolder
impl Unpin for NoteFolder
impl UnwindSafe for NoteFolder
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