pub struct MethodSig {
pub name: Arc<str>,
pub params: Vec<(Arc<str>, Ty)>,
pub ret: Ty,
pub effects: Vec<Effect>,
}Fields§
§name: Arc<str>§params: Vec<(Arc<str>, Ty)>Parameter names and types, with the abstract receiver as Ty::con("Self").
ret: Ty§effects: Vec<Effect>The declared row — the bound every implementation is held to (docs/37 §37.5), and
therefore what a caller in another module may assume.
Trait Implementations§
impl Eq for MethodSig
impl StructuralPartialEq for MethodSig
Auto Trait Implementations§
impl Freeze for MethodSig
impl RefUnwindSafe for MethodSig
impl Send for MethodSig
impl Sync for MethodSig
impl Unpin for MethodSig
impl UnwindSafe for MethodSig
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