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