pub struct Metadata<'input> {
pub span: Span,
pub start_paren: SimpleToken<'input>,
pub values: Vec<MetadataValue<'input>>,
pub end_paren: SimpleToken<'input>,
}Fields§
§span: Span§start_paren: SimpleToken<'input>§values: Vec<MetadataValue<'input>>§end_paren: SimpleToken<'input>Implementations§
Source§impl<'input> Metadata<'input>
impl<'input> Metadata<'input>
pub fn token_metas<'a>( &'a self, ) -> impl Iterator<Item = &'a TokenMetadata<'input>>
Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for Metadata<'input>
impl<'input> RefUnwindSafe for Metadata<'input>
impl<'input> Send for Metadata<'input>
impl<'input> Sync for Metadata<'input>
impl<'input> Unpin for Metadata<'input>
impl<'input> UnwindSafe for Metadata<'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