Variants§
Default(Span)
Returns type is not specified.
Functions default to ()
and closures default to inference.
Span points to where return type would be inserted.
Ty(P<Ty>)
Everything else.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FnRetTy
impl !Send for FnRetTy
impl !Sync for FnRetTy
impl Unpin for FnRetTy
impl !UnwindSafe for FnRetTy
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Default
: 8 bytesTy
: 12 bytes