Enum rustdoc::clean::types::FnRetTy [−][src]
pub(crate) enum FnRetTy {
Return(Type),
DefaultReturn,
}
Variants
Return(Type)
Tuple Fields of Return
0: Type
Implementations
Trait Implementations
Use this method to get the DefId
of a clean
AST node.
This will return None
when called on a primitive clean::Type
.
Use Self::def_id_full
if you want to include primitives. Read more
Use this method to get the DefId of a clean AST node, including PrimitiveTypes. Read more
Auto Trait Implementations
impl RefUnwindSafe for FnRetTy
impl UnwindSafe for FnRetTy
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
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: 72 bytes
Size for each variant:
Return
: 72 bytesDefaultReturn
: 0 bytes