pub struct TypeNode {
pub node_id: NodeId,
pub name: String,
pub module: Id<ModuleNode>,
pub scope: Option<String>,
pub kind: TypeKind,
pub completeness: Completeness,
pub facets: Facets,
}Expand description
A named type. Spec §3.2.
Fields§
§node_id: NodeIdStable identity.
name: StringSimple name.
module: Id<ModuleNode>Enclosing module.
scope: Option<String>The interface or value type this is declared in, when it is not
declared directly in a module (OMG IDL 4.2 §7.4.3.4: an interface
body holds type, constant and exception declarations). Its name is
a segment of the scoped name and of the repository id:
CosNaming::NamingContext::NotFound.
kind: TypeKindWhat kind of type.
completeness: CompletenessWhether the body has arrived.
facets: FacetsPer-source information. Spec §4.
Implementations§
Trait Implementations§
impl Eq for TypeNode
impl StructuralPartialEq for TypeNode
Auto Trait Implementations§
impl Freeze for TypeNode
impl RefUnwindSafe for TypeNode
impl Send for TypeNode
impl Sync for TypeNode
impl Unpin for TypeNode
impl UnsafeUnpin for TypeNode
impl UnwindSafe for TypeNode
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