pub trait Delimiter:
ProcMacro<Delimiter = Self>
+ Copy
+ Eq {
const Parenthesis: Self;
const Brace: Self;
const Bracket: Self;
const None: Self;
}
Expand description
Delimiter
API trait. See proc_macro::Delimiter
.
This trait is implemented for Delimiter
in proc_macro
and proc_macro2
if the
corresponding feature is enabled.
See also DelimiterExt
.
Required Associated Constants§
Sourceconst Parenthesis: Self
const Parenthesis: Self
proc_macro*::Delimiter::Parenthesis
((
… )
)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.