pub struct SurfaceKey(/* private fields */);Expand description
A candidate’s production surface: the pointer key. Transparent newtype
over the canonical {kind}:{scope} string (Candidate::surface).
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceKey
impl Clone for SurfaceKey
Source§fn clone(&self) -> SurfaceKey
fn clone(&self) -> SurfaceKey
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 SurfaceKey
impl Debug for SurfaceKey
Source§impl<'de> Deserialize<'de> for SurfaceKey
impl<'de> Deserialize<'de> for SurfaceKey
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
Source§impl Display for SurfaceKey
impl Display for SurfaceKey
impl Eq for SurfaceKey
Source§impl Hash for SurfaceKey
impl Hash for SurfaceKey
Source§impl Ord for SurfaceKey
impl Ord for SurfaceKey
Source§fn cmp(&self, other: &SurfaceKey) -> Ordering
fn cmp(&self, other: &SurfaceKey) -> 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 SurfaceKey
impl PartialEq for SurfaceKey
Source§impl PartialOrd for SurfaceKey
impl PartialOrd for SurfaceKey
Source§impl Serialize for SurfaceKey
impl Serialize for SurfaceKey
impl StructuralPartialEq for SurfaceKey
Auto Trait Implementations§
impl Freeze for SurfaceKey
impl RefUnwindSafe for SurfaceKey
impl Send for SurfaceKey
impl Sync for SurfaceKey
impl Unpin for SurfaceKey
impl UnsafeUnpin for SurfaceKey
impl UnwindSafe for SurfaceKey
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