pub struct Identifier<'ast> {
pub value: String,
pub span: Span<'ast>,
}
Fields§
§value: String
§span: Span<'ast>
Trait Implementations§
Source§impl<'ast> Clone for Identifier<'ast>
impl<'ast> Clone for Identifier<'ast>
Source§fn clone(&self) -> Identifier<'ast>
fn clone(&self) -> Identifier<'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 Identifier<'ast>
impl<'ast> Debug for Identifier<'ast>
Source§impl<'ast> Display for Identifier<'ast>
impl<'ast> Display for Identifier<'ast>
Source§impl<'ast> FromPest<'ast> for Identifier<'ast>
impl<'ast> FromPest<'ast> for Identifier<'ast>
Source§impl<'ast> PartialEq for Identifier<'ast>
impl<'ast> PartialEq for Identifier<'ast>
impl<'ast> StructuralPartialEq for Identifier<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for Identifier<'ast>
impl<'ast> RefUnwindSafe for Identifier<'ast>
impl<'ast> Send for Identifier<'ast>
impl<'ast> Sync for Identifier<'ast>
impl<'ast> Unpin for Identifier<'ast>
impl<'ast> UnwindSafe for Identifier<'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