pub struct Returns {
pub ty: Type,
pub unit: Option<Unit>,
}Expand description
The declared return: a type, with a unit exactly when it is number.
Fields§
§ty: TypeThe value type.
unit: Option<Unit>The unit of a number return.
Trait Implementations§
impl Eq for Returns
impl StructuralPartialEq for Returns
Auto Trait Implementations§
impl Freeze for Returns
impl RefUnwindSafe for Returns
impl Send for Returns
impl Sync for Returns
impl Unpin for Returns
impl UnsafeUnpin for Returns
impl UnwindSafe for Returns
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