pub struct ArrayBase<B, T: Parse, S: Parse> {
pub token: B,
pub elems: Punctuated<T, S>,
}
Fields§
§token: B
§elems: Punctuated<T, S>
Implementations§
Source§impl<B, T: Parse, S: Parse> ArrayBase<B, T, S>
impl<B, T: Parse, S: Parse> ArrayBase<B, T, S>
pub fn elems(&self) -> impl Iterator<Item = &T>
pub fn into_elems(self) -> impl Iterator<Item = T>
pub fn to_token_stream(&self) -> TokenStream
pub fn into_token_stream(self) -> TokenStream
Trait Implementations§
Auto Trait Implementations§
impl<B, T, S> Freeze for ArrayBase<B, T, S>where
B: Freeze,
impl<B, T, S> RefUnwindSafe for ArrayBase<B, T, S>
impl<B, T, S> Send for ArrayBase<B, T, S>
impl<B, T, S> Sync for ArrayBase<B, T, S>
impl<B, T, S> Unpin for ArrayBase<B, T, S>
impl<B, T, S> UnwindSafe for ArrayBase<B, T, S>
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