pub struct FunctionFormat {
pub is_async: bool,
pub self_opt: Option<Named<Format>>,
pub params: Vec<Named<Format>>,
pub ret: Box<Format>,
}
Expand description
Free standing function item such as fn start() -> ()
.
Fields§
§is_async: bool
§self_opt: Option<Named<Format>>
§params: Vec<Named<Format>>
§ret: Box<Format>
Trait Implementations§
Source§impl Debug for FunctionFormat
impl Debug for FunctionFormat
Auto Trait Implementations§
impl Freeze for FunctionFormat
impl RefUnwindSafe for FunctionFormat
impl Send for FunctionFormat
impl Sync for FunctionFormat
impl Unpin for FunctionFormat
impl UnwindSafe for FunctionFormat
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