pub enum ProcMacroServerKey {
None,
Sysroot,
Explicit(String),
}Variants§
Trait Implementations§
Source§impl Clone for ProcMacroServerKey
impl Clone for ProcMacroServerKey
Source§fn clone(&self) -> ProcMacroServerKey
fn clone(&self) -> ProcMacroServerKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcMacroServerKey
impl Debug for ProcMacroServerKey
Source§impl<'de> Deserialize<'de> for ProcMacroServerKey
impl<'de> Deserialize<'de> for ProcMacroServerKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcMacroServerKey
Source§impl Ord for ProcMacroServerKey
impl Ord for ProcMacroServerKey
Source§fn cmp(&self, other: &ProcMacroServerKey) -> Ordering
fn cmp(&self, other: &ProcMacroServerKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProcMacroServerKey
impl PartialEq for ProcMacroServerKey
Source§fn eq(&self, other: &ProcMacroServerKey) -> bool
fn eq(&self, other: &ProcMacroServerKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProcMacroServerKey
impl PartialOrd for ProcMacroServerKey
Source§impl Serialize for ProcMacroServerKey
impl Serialize for ProcMacroServerKey
impl StructuralPartialEq for ProcMacroServerKey
Auto Trait Implementations§
impl Freeze for ProcMacroServerKey
impl RefUnwindSafe for ProcMacroServerKey
impl Send for ProcMacroServerKey
impl Sync for ProcMacroServerKey
impl Unpin for ProcMacroServerKey
impl UnsafeUnpin for ProcMacroServerKey
impl UnwindSafe for ProcMacroServerKey
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