pub struct Declaration<'input> {
pub span: Span,
pub kind: DeclarationKind<'input>,
}Fields§
§span: Span§kind: DeclarationKind<'input>Trait Implementations§
Source§impl<'input> Clone for Declaration<'input>
impl<'input> Clone for Declaration<'input>
Source§fn clone(&self) -> Declaration<'input>
fn clone(&self) -> Declaration<'input>
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<'input> Freeze for Declaration<'input>
impl<'input> RefUnwindSafe for Declaration<'input>
impl<'input> Send for Declaration<'input>
impl<'input> Sync for Declaration<'input>
impl<'input> Unpin for Declaration<'input>
impl<'input> UnwindSafe for Declaration<'input>
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