pub enum Manager {
Flake,
Mise,
Asdf,
Devbox,
}Expand description
A tool manager a project declares its development tools through.
Variants§
Flake
A Nix flake: an input pinned at a tag and its package in the devshell.
Mise
mise: one [tools] entry in its configuration file.
Asdf
asdf: one line in .tool-versions.
Devbox
devbox: one entry in the packages array of devbox.json.
Implementations§
Source§impl Manager
impl Manager
Sourcepub const fn default_file(self) -> &'static str
pub const fn default_file(self) -> &'static str
The default file a manager is seeded into when absent.
Sourcepub const fn candidates(self) -> &'static [&'static str]
pub const fn candidates(self) -> &'static [&'static str]
The paths a manager declares itself at, in precedence order.
Trait Implementations§
impl Copy for Manager
impl Eq for Manager
impl StructuralPartialEq for Manager
Auto Trait Implementations§
impl Freeze for Manager
impl RefUnwindSafe for Manager
impl Send for Manager
impl Sync for Manager
impl Unpin for Manager
impl UnsafeUnpin for Manager
impl UnwindSafe for Manager
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.