pub struct Spawn {
pub name: Ident,
pub inputs: Option<Vec<Parameter>>,
}Fields§
§name: Ident§inputs: Option<Vec<Parameter>>Some([]) is an explicit zero-input signature, report(). None is the
bare name report, which carries no signature to bound the closure with.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Spawn
impl !Sync for Spawn
impl Freeze for Spawn
impl RefUnwindSafe for Spawn
impl Unpin for Spawn
impl UnsafeUnpin for Spawn
impl UnwindSafe for Spawn
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