pub struct CompatSource {
pub client: &'static str,
pub source: Source,
pub outranks: Option<Outrank>,
}Expand description
Another tool’s file a client also loads entries from (SPEC 6.4
client-compat:<file>).
Fields§
§client: &'static strThe client whose file it is.
source: Source§outranks: Option<Outrank>Where the file ranks: None below every layer of the client’s own;
otherwise above one of them, for the host that reads it.
Implementations§
Trait Implementations§
Source§impl Clone for CompatSource
impl Clone for CompatSource
impl Copy for CompatSource
Source§impl Debug for CompatSource
impl Debug for CompatSource
impl Eq for CompatSource
Source§impl PartialEq for CompatSource
impl PartialEq for CompatSource
impl StructuralPartialEq for CompatSource
Auto Trait Implementations§
impl Forget for CompatSource
impl Freeze for CompatSource
impl Move for CompatSource
impl RefUnwindSafe for CompatSource
impl Send for CompatSource
impl Sync for CompatSource
impl Unpin for CompatSource
impl UnsafeUnpin for CompatSourcewhere
&'static str: UnsafeUnpin,
impl UnwindSafe for CompatSourcewhere
&'static str: UnwindSafe,
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.