pub struct DeclareItem<'ast> {
pub key: &'ast Token,
pub value: ExprId<'ast>,
pub span: Span,
}Fields§
§key: &'ast Token§value: ExprId<'ast>§span: SpanTrait Implementations§
Source§impl<'ast> Clone for DeclareItem<'ast>
impl<'ast> Clone for DeclareItem<'ast>
Source§fn clone(&self) -> DeclareItem<'ast>
fn clone(&self) -> DeclareItem<'ast>
Returns a duplicate 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<'ast> Debug for DeclareItem<'ast>
impl<'ast> Debug for DeclareItem<'ast>
Source§impl<'ast> Serialize for DeclareItem<'ast>
impl<'ast> Serialize for DeclareItem<'ast>
impl<'ast> Copy for DeclareItem<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for DeclareItem<'ast>
impl<'ast> RefUnwindSafe for DeclareItem<'ast>
impl<'ast> Send for DeclareItem<'ast>
impl<'ast> Sync for DeclareItem<'ast>
impl<'ast> Unpin for DeclareItem<'ast>
impl<'ast> UnwindSafe for DeclareItem<'ast>
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