knave-expand 0.14.21

The reading, scoping and expansion stages of knave
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::core::{BindingId, TraitMethod};

pub(super) struct DeclaredTrait<'d> {
    pub binding: BindingId,
    pub definer: &'d str,
    pub path: &'d str,
    pub path_owner: Option<BindingId>,
    pub self_variable: BindingId,
    pub methods: &'d [TraitMethod],
}