pub struct ShellStore { /* private fields */ }Implementations§
Source§impl ShellStore
impl ShellStore
pub fn new(root: impl Into<PathBuf>) -> Self
pub fn load_pins(&self) -> ShellResult<PinCollection>
pub fn save_pins(&self, pins: &PinCollection) -> ShellResult<()>
Trait Implementations§
Source§impl Clone for ShellStore
impl Clone for ShellStore
Source§fn clone(&self) -> ShellStore
fn clone(&self) -> ShellStore
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 moreAuto Trait Implementations§
impl Freeze for ShellStore
impl RefUnwindSafe for ShellStore
impl Send for ShellStore
impl Sync for ShellStore
impl Unpin for ShellStore
impl UnsafeUnpin for ShellStore
impl UnwindSafe for ShellStore
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