pub fn new<'b: 'a>(name: &'b str, allocate: AllocateCallback<T>) -> Self {
        Self {
            name,
            allocate,
            call: None,
            construct: None,
            methods: Vec::new(),
        }
    }
/// Constructs a new minimal `ClassDescriptor` with a name and allocator.
Constructs a new minimal `ClassDescriptor` with a name and allocator.
Constructs a new minimal ` ClassDescriptor ` with a name and allocator .
pub fn new<'b: 'a>(name: &'b str, allocate: AllocateCallback<T>) -> Self {
        Self {
            name,
            allocate,
            call: None,
            construct: None,
            methods: Vec::new(),
        }
    }
pub fn new < ' b : ' a > ( name : & ' b str , allocate : AllocateCallback < T > ) -> Self { Self { name , allocate , call : None , construct : None , methods : Vec :: new ( ) , } }
Constructs a new minimal `ClassDescriptor` with a name and allocator.
Constructs a new minimal ` ClassDescriptor ` with a name and allocator .
name
&'b str
allocate
AllocateCallback<T>