pub struct InterfaceMethod {
pub name: Ident,
pub visibility: Visibility,
pub args: Vec<InterfaceMethodArg>,
pub ret: ReturnType,
pub docs: Vec<Attribute>,
}
Fields§
§name: Ident
§visibility: Visibility
§args: Vec<InterfaceMethodArg>
§ret: ReturnType
§docs: Vec<Attribute>
Trait Implementations§
Source§impl Parse for InterfaceMethod
impl Parse for InterfaceMethod
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for InterfaceMethod
impl RefUnwindSafe for InterfaceMethod
impl !Send for InterfaceMethod
impl !Sync for InterfaceMethod
impl Unpin for InterfaceMethod
impl UnwindSafe for InterfaceMethod
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