[−][src]Struct syn::token::Paren
(...)
Fields
span: SpanMethods
impl Paren[src]
pub fn surround<F>(&self, tokens: &mut TokenStream, f: F) where
F: FnOnce(&mut TokenStream), [src]
F: FnOnce(&mut TokenStream),
Trait Implementations
impl Token for Paren[src]
impl Eq for Paren[src]
impl Copy for Paren[src]
impl PartialEq<Paren> for Paren[src]
fn eq(&self, _other: &Paren) -> bool[src]
#[must_use]
default fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
default fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Clone for Paren[src]
fn clone(&self) -> Paren[src]
default fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for Paren[src]
impl Debug for Paren[src]
impl Hash for Paren[src]
Auto Trait Implementations
Blanket Implementations
impl<K> Token for K where
K: CustomKeyword, [src]
K: CustomKeyword,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,