pub struct Ported<Inner> {
pub inn: Option<Indexing>,
pub inner: Inner,
pub out: Option<Indexing>,
}Fields§
§inn: Option<Indexing>§inner: Inner§out: Option<Indexing>Trait Implementations§
Source§impl<Inner> Parse for Ported<Inner>where
Inner: Parse,
impl<Inner> Parse for Ported<Inner>where
Inner: Parse,
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl<Inner> ToTokens for Ported<Inner>where
Inner: ToTokens,
impl<Inner> ToTokens for Ported<Inner>where
Inner: ToTokens,
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<Inner> !Send for Ported<Inner>
impl<Inner> !Sync for Ported<Inner>
impl<Inner> Forget for Ported<Inner>
impl<Inner> Freeze for Ported<Inner>where
NonZero<u32>: 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,
Inner: Freeze,
impl<Inner> Move for Ported<Inner>
impl<Inner> RefUnwindSafe for Ported<Inner>where
NonZero<u32>: RefUnwindSafe,
ProcMacroAutoTraits: RefUnwindSafe,
RcVec<TokenTree>: RefUnwindSafe,
Inner: RefUnwindSafe,
impl<Inner> Unpin for Ported<Inner>where
Inner: Unpin,
NonZero<u32>: Unpin,
Rc<()>: Unpin,
*const u8 is !null: Unpin,
Box<str>: 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,
impl<Inner> UnsafeUnpin for Ported<Inner>where
NonZeroU32Inner: 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,
Inner: UnsafeUnpin,
impl<Inner> UnwindSafe for Ported<Inner>where
NonZero<u32>: UnwindSafe,
ProcMacroAutoTraits: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<str>: 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,
Inner: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.