pub struct Prefix<'i> {
pub keyword: Keyword<'i>,
pub modifier: Option<Modifier<'i>>,
pub enclosures: Vec<Enclosure<'i>>,
}Fields§
§keyword: Keyword<'i>§modifier: Option<Modifier<'i>>§enclosures: Vec<Enclosure<'i>>Trait Implementations§
Source§impl<'i> PartialEq for Prefix<'i>
impl<'i> PartialEq for Prefix<'i>
impl<'i> StructuralPartialEq for Prefix<'i>
Auto Trait Implementations§
impl<'i> Freeze for Prefix<'i>
impl<'i> RefUnwindSafe for Prefix<'i>
impl<'i> Send for Prefix<'i>
impl<'i> Sync for Prefix<'i>
impl<'i> Unpin for Prefix<'i>
impl<'i> UnsafeUnpin for Prefix<'i>
impl<'i> UnwindSafe for Prefix<'i>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.