pub struct TypeDeclaration {
pub ident: Ident,
pub def: TypeDefinition,
}
Expand description
LRM 6.2 Type declarations
Fields§
§ident: Ident
§def: TypeDefinition
Trait Implementations§
Source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
Source§fn clone(&self) -> TypeDeclaration
fn clone(&self) -> TypeDeclaration
Returns a copy of the value. Read more
1.0.0 · 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 TypeDeclaration
impl Debug for TypeDeclaration
Source§impl PartialEq for TypeDeclaration
impl PartialEq for TypeDeclaration
Source§impl Search for TypeDeclaration
impl Search for TypeDeclaration
fn search(&self, searcher: &mut impl Searcher) -> SearchResult
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 !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