pub struct NamedStatement {
pub name: Ident,
pub equals: Eq,
pub pipeline: Pipeline,
pub semi_token: Semi,
}Fields§
§name: Ident§equals: Eq§pipeline: Pipeline§semi_token: SemiTrait Implementations§
Source§impl Parse for NamedStatement
impl Parse for NamedStatement
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl ToTokens for NamedStatement
impl ToTokens for NamedStatement
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl !Send for NamedStatement
impl !Sync for NamedStatement
impl Forget for NamedStatement
impl Freeze for NamedStatementwhere
NonZero<u32>: Freeze,
*const str is !null: Freeze,
PhantomData<str>: Freeze,
PhantomData<Rc<()>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<Attribute>: Freeze,
*const Type is !null: Freeze,
PhantomData<Type>: Freeze,
PhantomData<(PathSegment, PathSep)>: Freeze,
*const PathSegment is !null: Freeze,
PhantomData<PathSegment>: Freeze,
*const Pipeline is !null: Freeze,
PhantomData<Pipeline>: Freeze,
PhantomData<TokenTree>: Freeze,
*const RcInner<Vec<TokenTree>> is !null: Freeze,
PhantomData<RcInner<Vec<TokenTree>>>: Freeze,
PhantomData<(Expr, Comma)>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
PhantomData<SingletonRef>: Freeze,
impl Move for NamedStatement
impl RefUnwindSafe for NamedStatementwhere
NonZero<u32>: RefUnwindSafe,
ProcMacroAutoTraits: RefUnwindSafe,
RcVec<TokenTree>: RefUnwindSafe,
impl Unpin for NamedStatementwhere
NonZero<u32>: Unpin,
Box<str>: Unpin,
Rc<()>: Unpin,
*const u8 is !null: Unpin,
Box<Type>: Unpin,
Box<Expr>: Unpin,
Box<Pat>: Unpin,
Box<LitRepr>: Unpin,
Box<LitIntRepr>: Unpin,
Box<LitFloatRepr>: Unpin,
Rc<Vec<TokenTree>>: Unpin,
Box<FieldPat>: Unpin,
Box<Path>: Unpin,
Box<Lifetime>: Unpin,
Box<CapturedParam>: Unpin,
Box<TypeParamBound>: Unpin,
Box<GenericParam>: Unpin,
Box<WherePredicate>: Unpin,
Box<Field>: Unpin,
Box<Variant>: Unpin,
Box<FnArg>: Unpin,
Box<Block>: Unpin,
Box<UseTree>: Unpin,
Box<FieldValue>: Unpin,
Box<BareFnArg>: Unpin,
Box<GenericArgument>: Unpin,
Box<PathSegment>: Unpin,
Box<Pipeline>: Unpin,
impl UnsafeUnpin for NamedStatementwhere
NonZeroU32Inner: UnsafeUnpin,
*const str is !null: UnsafeUnpin,
PhantomData<str>: UnsafeUnpin,
PhantomData<Rc<()>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Attribute>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
PhantomData<(PathSegment, PathSep)>: UnsafeUnpin,
*const PathSegment is !null: UnsafeUnpin,
PhantomData<PathSegment>: UnsafeUnpin,
*const Pipeline is !null: UnsafeUnpin,
PhantomData<Pipeline>: UnsafeUnpin,
PhantomData<TokenTree>: UnsafeUnpin,
*const RcInner<Vec<TokenTree>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<TokenTree>>>: UnsafeUnpin,
PhantomData<(Expr, Comma)>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
PhantomData<SingletonRef>: UnsafeUnpin,
impl UnwindSafe for NamedStatementwhere
NonZero<u32>: UnwindSafe,
BoxRaw<str>: UnwindSafe,
ProcMacroAutoTraits: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<Pat>: UnwindSafe,
BoxRaw<LitRepr>: UnwindSafe,
BoxRaw<LitIntRepr>: UnwindSafe,
BoxRaw<LitFloatRepr>: UnwindSafe,
Rc<Vec<TokenTree>>: UnwindSafe,
BoxRaw<FieldPat>: UnwindSafe,
BoxRaw<Path>: UnwindSafe,
BoxRaw<Lifetime>: UnwindSafe,
BoxRaw<CapturedParam>: UnwindSafe,
BoxRaw<TypeParamBound>: UnwindSafe,
BoxRaw<GenericParam>: UnwindSafe,
BoxRaw<WherePredicate>: UnwindSafe,
BoxRaw<Field>: UnwindSafe,
BoxRaw<Variant>: UnwindSafe,
BoxRaw<FnArg>: UnwindSafe,
BoxRaw<Block>: UnwindSafe,
BoxRaw<UseTree>: UnwindSafe,
BoxRaw<FieldValue>: UnwindSafe,
BoxRaw<BareFnArg>: UnwindSafe,
BoxRaw<GenericArgument>: UnwindSafe,
BoxRaw<PathSegment>: UnwindSafe,
BoxRaw<Pipeline>: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.