pub struct NamedTypeDeclaration {
pub name: QualifiedName,
pub type_class: NamedTypeReferenceClass,
}Expand description
A named type that a TypeLibrary declares without defining.
Fields§
§name: QualifiedName§type_class: NamedTypeReferenceClassTrait Implementations§
Source§impl Clone for NamedTypeDeclaration
impl Clone for NamedTypeDeclaration
Source§fn clone(&self) -> NamedTypeDeclaration
fn clone(&self) -> NamedTypeDeclaration
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 NamedTypeDeclaration
impl Debug for NamedTypeDeclaration
impl Eq for NamedTypeDeclaration
Source§impl Hash for NamedTypeDeclaration
impl Hash for NamedTypeDeclaration
Source§impl PartialEq for NamedTypeDeclaration
impl PartialEq for NamedTypeDeclaration
Source§fn eq(&self, other: &NamedTypeDeclaration) -> bool
fn eq(&self, other: &NamedTypeDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NamedTypeDeclaration
Auto Trait Implementations§
impl Freeze for NamedTypeDeclaration
impl RefUnwindSafe for NamedTypeDeclaration
impl Send for NamedTypeDeclaration
impl Sync for NamedTypeDeclaration
impl Unpin for NamedTypeDeclaration
impl UnsafeUnpin for NamedTypeDeclaration
impl UnwindSafe for NamedTypeDeclaration
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