pub struct LegacyKey {
pub retired: &'static str,
pub scope: LegacyScope,
pub rewrite: LegacyRewrite,
}Expand description
One retired key: its spelling, where it sits, what replaces it.
Fields§
§retired: &'static str§scope: LegacyScope§rewrite: LegacyRewriteTrait Implementations§
impl Copy for LegacyKey
impl Eq for LegacyKey
impl StructuralPartialEq for LegacyKey
Auto Trait Implementations§
impl Freeze for LegacyKey
impl RefUnwindSafe for LegacyKey
impl Send for LegacyKey
impl Sync for LegacyKey
impl Unpin for LegacyKey
impl UnsafeUnpin for LegacyKey
impl UnwindSafe for LegacyKey
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.