pub enum ToolPlatform {
Windows,
Linux,
MacOS,
Any,
}Expand description
Tool Cache Platform
Variants§
Implementations§
Source§impl ToolPlatform
impl ToolPlatform
Sourcepub fn from_current_os() -> Self
pub fn from_current_os() -> Self
Get the platform from the current OS
Trait Implementations§
Source§impl Clone for ToolPlatform
impl Clone for ToolPlatform
Source§fn clone(&self) -> ToolPlatform
fn clone(&self) -> ToolPlatform
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 moreSource§impl Debug for ToolPlatform
impl Debug for ToolPlatform
Source§impl Display for ToolPlatform
impl Display for ToolPlatform
Source§impl From<&str> for ToolPlatform
impl From<&str> for ToolPlatform
Source§impl PartialEq for ToolPlatform
impl PartialEq for ToolPlatform
impl Copy for ToolPlatform
impl Eq for ToolPlatform
impl StructuralPartialEq for ToolPlatform
Auto Trait Implementations§
impl Freeze for ToolPlatform
impl RefUnwindSafe for ToolPlatform
impl Send for ToolPlatform
impl Sync for ToolPlatform
impl Unpin for ToolPlatform
impl UnwindSafe for ToolPlatform
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