Struct planus_types::ast::Declaration
source · pub struct Declaration {
pub file_id: FileId,
pub full_span: Span,
pub definition_span: Span,
pub identifier: Identifier,
pub kind: TypeDeclarationKind,
pub docstrings: Docstrings,
}Fields§
§file_id: FileId§full_span: Span§definition_span: Span§identifier: Identifier§kind: TypeDeclarationKind§docstrings: DocstringsTrait Implementations§
source§impl Clone for Declaration
impl Clone for Declaration
source§fn clone(&self) -> Declaration
fn clone(&self) -> Declaration
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnwindSafe for Declaration
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