pub struct TypedClassMethod {
pub name: Ident,
pub generics: Vec<String>,
pub params: Vec<TypedParam>,
pub return_type: Type,
pub body: StmtId,
pub visibility: Visibility,
pub doc: Option<DocComment>,
}Fields§
§name: Ident§generics: Vec<String>§params: Vec<TypedParam>§return_type: Type§body: StmtId§visibility: Visibility§doc: Option<DocComment>Trait Implementations§
Source§impl Clone for TypedClassMethod
impl Clone for TypedClassMethod
Source§impl Debug for TypedClassMethod
impl Debug for TypedClassMethod
Source§impl PartialEq for TypedClassMethod
impl PartialEq for TypedClassMethod
impl StructuralPartialEq for TypedClassMethod
Auto Trait Implementations§
impl Freeze for TypedClassMethod
impl RefUnwindSafe for TypedClassMethod
impl Send for TypedClassMethod
impl Sync for TypedClassMethod
impl Unpin for TypedClassMethod
impl UnsafeUnpin for TypedClassMethod
impl UnwindSafe for TypedClassMethod
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