pub struct DocReturn {
pub docs: Option<DocString>,
pub typ: Ty,
}
Expand description
Details about the return value of a function.
Fields§
§docs: Option<DocString>
Extra semantic details around the returned value’s meaning.
typ: Ty
Trait Implementations§
source§impl Allocative for DocReturn
impl Allocative for DocReturn
source§impl PartialEq for DocReturn
impl PartialEq for DocReturn
impl StructuralPartialEq for DocReturn
Auto Trait Implementations§
impl !RefUnwindSafe for DocReturn
impl Send for DocReturn
impl Sync for DocReturn
impl Unpin for DocReturn
impl !UnwindSafe for DocReturn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more