pub struct Impl {
pub id: NodeId,
pub pos: Position,
pub span: Span,
pub type_params: Option<Vec<TypeParam>>,
pub trait_type: Option<Type>,
pub class_type: Type,
pub methods: Vec<Function>,
}
Fields§
§id: NodeId
§pos: Position
§span: Span
§type_params: Option<Vec<TypeParam>>
§trait_type: Option<Type>
§class_type: Type
§methods: Vec<Function>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Impl
impl RefUnwindSafe for Impl
impl Send for Impl
impl Sync for Impl
impl Unpin for Impl
impl UnwindSafe for Impl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)