pub struct TypeDeclaration {
pub ident: Ident,
pub def: TypeDefinition,
}Expand description
LRM 6.2 Type declarations
Fields§
§ident: Ident§def: TypeDefinitionTrait Implementations§
Source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
Source§fn clone(&self) -> TypeDeclaration
fn clone(&self) -> TypeDeclaration
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 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 !RefUnwindSafe for TypeDeclaration
impl !UnwindSafe for TypeDeclaration
impl Freeze for TypeDeclaration
impl Send for TypeDeclaration
impl Sync for TypeDeclaration
impl Unpin for TypeDeclaration
impl UnsafeUnpin 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