Struct Paren
struct Paren { ... }
(…)
Fields
span: DelimSpan
Implementations
impl Paren
fn surround<F>(self: &Self, tokens: &mut TokenStream, f: F) where F: FnOnce(&mut TokenStream)
impl Clone for Paren
fn clone(self: &Self) -> Self
impl Copy for Paren
impl Debug for Paren
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Default for Paren
fn default() -> Self
impl Eq for Paren
impl Freeze for Paren
impl Hash for Paren
fn hash<H: Hasher>(self: &Self, _state: &mut H)
impl PartialEq for Paren
fn eq(self: &Self, _other: &Paren) -> bool
impl RefUnwindSafe for Paren
impl Send for Paren
impl Sync for Paren
impl Token for Paren
impl Unpin for Paren
impl UnwindSafe for Paren
impl<T> Any for Paren
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Paren
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Paren
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Paren
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Paren
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Paren
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Paren
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Paren
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Paren
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>