pub enum SwiftDeclarationPathComponent {
Identifier {
value: String,
},
PrivateContext {
discriminator_sha256: SwiftEvidenceDigest,
},
LocalContext {
discriminator_sha256: SwiftEvidenceDigest,
},
ExtensionContext {
defining_module: String,
extended_declaration_sha256: SwiftEvidenceDigest,
},
}Expand description
One declaration-context component.
Variants§
Identifier
Named context.
PrivateContext
Private discriminator.
Fields
§
discriminator_sha256: SwiftEvidenceDigestDigest of the private discriminator.
LocalContext
Local discriminator.
Fields
§
discriminator_sha256: SwiftEvidenceDigestDigest of the local discriminator.
ExtensionContext
Extension context.
Fields
§
extended_declaration_sha256: SwiftEvidenceDigestDigest of the extended declaration.
Trait Implementations§
impl Eq for SwiftDeclarationPathComponent
Source§impl Hash for SwiftDeclarationPathComponent
impl Hash for SwiftDeclarationPathComponent
Source§impl Ord for SwiftDeclarationPathComponent
impl Ord for SwiftDeclarationPathComponent
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SwiftDeclarationPathComponent
impl PartialOrd for SwiftDeclarationPathComponent
impl StructuralPartialEq for SwiftDeclarationPathComponent
Auto Trait Implementations§
impl Freeze for SwiftDeclarationPathComponent
impl RefUnwindSafe for SwiftDeclarationPathComponent
impl Send for SwiftDeclarationPathComponent
impl Sync for SwiftDeclarationPathComponent
impl Unpin for SwiftDeclarationPathComponent
impl UnsafeUnpin for SwiftDeclarationPathComponent
impl UnwindSafe for SwiftDeclarationPathComponent
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