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> Freeze for Ported<Inner>where
    Inner: Freeze,
impl<Inner> RefUnwindSafe for Ported<Inner>where
    Inner: RefUnwindSafe,
impl<Inner> !Send for Ported<Inner>
impl<Inner> !Sync for Ported<Inner>
impl<Inner> Unpin for Ported<Inner>where
    Inner: Unpin,
impl<Inner> UnwindSafe for Ported<Inner>where
    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§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.