pub struct Compiler<'a> {
pub name: &'a str,
pub version: &'a str,
}Expand description
What made an entry: its name (a folder under the cache, so letters,
digits, -, _ and .) and its version. An entry made by another
version is stale. A compiler raises its version whenever what it
writes changes.
Fields§
§name: &'a str§version: &'a strTrait Implementations§
impl<'a> Copy for Compiler<'a>
impl<'a> Eq for Compiler<'a>
impl<'a> StructuralPartialEq for Compiler<'a>
Auto Trait Implementations§
impl<'a> Freeze for Compiler<'a>
impl<'a> RefUnwindSafe for Compiler<'a>
impl<'a> Send for Compiler<'a>
impl<'a> Sync for Compiler<'a>
impl<'a> Unpin for Compiler<'a>
impl<'a> UnsafeUnpin for Compiler<'a>
impl<'a> UnwindSafe for Compiler<'a>
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.