pub enum TraitKind {
Slot {
slot_id: u32,
type_name: Index<Multiname>,
value: Option<DefaultValue>,
},
Method {
disp_id: u32,
method: Index<Method>,
},
Getter {
disp_id: u32,
method: Index<Method>,
},
Setter {
disp_id: u32,
method: Index<Method>,
},
Class {
slot_id: u32,
class: Index<Class>,
},
Function {
slot_id: u32,
function: Index<Method>,
},
Const {
slot_id: u32,
type_name: Index<Multiname>,
value: Option<DefaultValue>,
},
}
Variants§
Trait Implementations§
impl StructuralPartialEq for TraitKind
Auto Trait Implementations§
impl Freeze for TraitKind
impl RefUnwindSafe for TraitKind
impl Send for TraitKind
impl Sync for TraitKind
impl Unpin for TraitKind
impl UnwindSafe for TraitKind
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