pub struct SwiftTypeDeclaration {
pub module: String,
pub declaration_path: Vec<SwiftDeclarationPathComponent>,
pub kind: SwiftTypeDeclarationKind,
}Expand description
Exact nominal declaration identity carried by the mangling.
Fields§
§module: StringDeclaring module.
declaration_path: Vec<SwiftDeclarationPathComponent>Nested declaration path.
kind: SwiftTypeDeclarationKindNominal kind.
Trait Implementations§
Source§impl Clone for SwiftTypeDeclaration
impl Clone for SwiftTypeDeclaration
Source§fn clone(&self) -> SwiftTypeDeclaration
fn clone(&self) -> SwiftTypeDeclaration
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 SwiftTypeDeclaration
impl Debug for SwiftTypeDeclaration
impl Eq for SwiftTypeDeclaration
Source§impl Hash for SwiftTypeDeclaration
impl Hash for SwiftTypeDeclaration
Source§impl Ord for SwiftTypeDeclaration
impl Ord for SwiftTypeDeclaration
Source§fn cmp(&self, other: &SwiftTypeDeclaration) -> Ordering
fn cmp(&self, other: &SwiftTypeDeclaration) -> 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 SwiftTypeDeclaration
impl PartialEq for SwiftTypeDeclaration
Source§impl PartialOrd for SwiftTypeDeclaration
impl PartialOrd for SwiftTypeDeclaration
impl StructuralPartialEq for SwiftTypeDeclaration
Auto Trait Implementations§
impl Freeze for SwiftTypeDeclaration
impl RefUnwindSafe for SwiftTypeDeclaration
impl Send for SwiftTypeDeclaration
impl Sync for SwiftTypeDeclaration
impl Unpin for SwiftTypeDeclaration
impl UnsafeUnpin for SwiftTypeDeclaration
impl UnwindSafe for SwiftTypeDeclaration
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