pub struct ToolState {
pub tool: &'static CacheTool,
pub enabled: bool,
pub source: ToolSource,
}Expand description
One tool’s state for a target.
Fields§
§tool: &'static CacheTool§enabled: bool§source: ToolSourceTrait Implementations§
impl Copy for ToolState
impl Eq for ToolState
impl StructuralPartialEq for ToolState
Auto Trait Implementations§
impl Freeze for ToolState
impl RefUnwindSafe for ToolState
impl Send for ToolState
impl Sync for ToolState
impl Unpin for ToolState
impl UnsafeUnpin for ToolState
impl UnwindSafe for ToolState
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