Enum syn::TraitBoundModifier [−][src]
pub enum TraitBoundModifier { None, Maybe(Question), }
A modifier on a trait bound, currently only used for the ?
in
?Sized
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants
Maybe(Question)
Trait Implementations
impl Clone for TraitBoundModifier
[src]
impl Clone for TraitBoundModifier
[src]impl Debug for TraitBoundModifier
[src]
impl Debug for TraitBoundModifier
[src]impl Hash for TraitBoundModifier
[src]
impl Hash for TraitBoundModifier
[src]impl Parse for TraitBoundModifier
[src]
impl Parse for TraitBoundModifier
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl ToTokens for TraitBoundModifier
[src]
impl ToTokens for TraitBoundModifier
[src]