pub struct TraitPrototype {
pub name: Rc<str>,
pub required: HashSet<u16>,
pub shims: Vec<(u16, Opr24)>,
}Expand description
The prototype of a trait. Contains a list of all method IDs the trait must implement.
Fields§
§name: Rc<str>§required: HashSet<u16>List of method IDs that this trait requires.
shims: Vec<(u16, Opr24)>List of (method_id, function_id) mappings that make up the dtable of shims for the trait.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraitPrototype
impl RefUnwindSafe for TraitPrototype
impl !Send for TraitPrototype
impl !Sync for TraitPrototype
impl Unpin for TraitPrototype
impl UnwindSafe for TraitPrototype
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