pub struct TypeDeclaration {
pub name: String,
pub documentation: Option<Documentation>,
pub definition: TypeExpr,
}Expand description
A descriptor-local named type declaration.
Fields§
§name: StringDescriptor-local type name.
documentation: Option<Documentation>Optional type documentation.
definition: TypeExprDefinition associated with name.
Trait Implementations§
Source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
Source§impl Debug for TypeDeclaration
impl Debug for TypeDeclaration
impl Eq for TypeDeclaration
Source§impl PartialEq for TypeDeclaration
impl PartialEq for TypeDeclaration
impl StructuralPartialEq for TypeDeclaration
Auto Trait Implementations§
impl Freeze for TypeDeclaration
impl RefUnwindSafe for TypeDeclaration
impl Send for TypeDeclaration
impl Sync for TypeDeclaration
impl Unpin for TypeDeclaration
impl UnsafeUnpin for TypeDeclaration
impl UnwindSafe for TypeDeclaration
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