pub struct Method<'a> {
pub name: MethodName<'a>,
pub generics: GenericsDeclaration<'a>,
pub args: Vec<MethodArg<'a>>,
pub ret: Option<TsType<'a>>,
pub optional: bool,
pub is_static: bool,
}Fields§
§name: MethodName<'a>§generics: GenericsDeclaration<'a>§args: Vec<MethodArg<'a>>§ret: Option<TsType<'a>>§optional: bool§is_static: boolTrait Implementations§
impl<'a> Eq for Method<'a>
impl<'a> StructuralPartialEq for Method<'a>
Auto Trait Implementations§
impl<'a> Freeze for Method<'a>
impl<'a> RefUnwindSafe for Method<'a>
impl<'a> Send for Method<'a>
impl<'a> Sync for Method<'a>
impl<'a> Unpin for Method<'a>
impl<'a> UnsafeUnpin for Method<'a>
impl<'a> UnwindSafe for Method<'a>
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