Enum syn::ReturnType [−][src]
Return type of a function signature.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants
Return type is not specified.
Functions default to ()
and closures default to type inference.
A particular type is returned.
Implementations
impl ReturnType
[src]
impl ReturnType
[src]pub fn without_plus(input: ParseStream<'_>) -> Result<Self>
[src]
Trait Implementations
impl Clone for ReturnType
[src]
impl Clone for ReturnType
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for ReturnType
[src]
impl Hash for ReturnType
[src]impl Parse for ReturnType
[src]
impl Parse for ReturnType
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ReturnType> for ReturnType
[src]
impl PartialEq<ReturnType> for ReturnType
[src]impl ToTokens for ReturnType
[src]
impl ToTokens for ReturnType
[src]