pub struct Method {
pub source_name: EcoString,
pub ty: TypeScheme,
pub visibility: Visibility,
pub origin: MethodOrigin,
pub name_span: Option<Span>,
pub doc: Option<String>,
pub allowed_lints: Vec<String>,
pub go_hints: Vec<GoHint>,
pub superseded_by: Option<String>,
}Fields§
§source_name: EcoString§ty: TypeScheme§visibility: Visibility§origin: MethodOrigin§name_span: Option<Span>§doc: Option<String>§allowed_lints: Vec<String>§go_hints: Vec<GoHint>§superseded_by: Option<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Forget for Method
impl Freeze for Methodwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<EcoString>: Freeze,
*const ArcInner<Box<[Type]>> is !null: Freeze,
PhantomData<ArcInner<Box<[Type]>>>: Freeze,
*const ArcInner<FunctionType> is !null: Freeze,
PhantomData<ArcInner<FunctionType>>: Freeze,
PhantomData<Type>: Freeze,
*const Type is !null: Freeze,
*const ArcInner<Spelling> is !null: Freeze,
PhantomData<ArcInner<Spelling>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GoHint>: Freeze,
impl Move for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Methodwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EcoString>: UnsafeUnpin,
*const ArcInner<Box<[Type]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Box<[Type]>>>: UnsafeUnpin,
*const ArcInner<FunctionType> is !null: UnsafeUnpin,
PhantomData<ArcInner<FunctionType>>: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
*const ArcInner<Spelling> is !null: UnsafeUnpin,
PhantomData<ArcInner<Spelling>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GoHint>: UnsafeUnpin,
impl UnwindSafe for Methodwhere
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
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