pub struct ExceptionNode {
pub node_id: NodeId,
pub name: String,
pub module: Id<ModuleNode>,
pub scope: Option<String>,
pub members: Vec<Id<MemberNode>>,
pub facets: Facets,
}Expand description
An exception. Spec §3.4.
Structurally an aggregate, but not a TypeKind: an exception cannot
appear as a member type, so giving it its own kind keeps the type
space honest.
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.
members: Vec<Id<MemberNode>>Members in declaration order.
facets: FacetsPer-source information. Spec §4.
Trait Implementations§
Source§impl Clone for ExceptionNode
impl Clone for ExceptionNode
Source§impl Debug for ExceptionNode
impl Debug for ExceptionNode
impl Eq for ExceptionNode
Source§impl PartialEq for ExceptionNode
impl PartialEq for ExceptionNode
impl StructuralPartialEq for ExceptionNode
Auto Trait Implementations§
impl Freeze for ExceptionNode
impl RefUnwindSafe for ExceptionNode
impl Send for ExceptionNode
impl Sync for ExceptionNode
impl Unpin for ExceptionNode
impl UnsafeUnpin for ExceptionNode
impl UnwindSafe for ExceptionNode
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