Enum syn::ReturnType [−][src]
Expand description
Return type of a function signature.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants
Default
Return type is not specified.
Functions default to ()
and closures default to type inference.
Type(RArrow, Box<Type>)
A particular type is returned.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReturnType
impl !Send for ReturnType
impl !Sync for ReturnType
impl Unpin for ReturnType
impl UnwindSafe for ReturnType
Blanket Implementations
Mutably borrows from an owned value. Read more