pub struct ImportedSlot {
pub name: String,
pub owner: MangledName,
pub param_tys: Vec<Type>,
pub argument_metadata: Option<String>,
pub ret_ty: Type,
pub generic: bool,
}Fields§
§name: String§owner: MangledNameThe class whose body backs this slot (the declarer, or nearest ancestor for an inherited slot) — the key under which its method func was imported.
param_tys: Vec<Type>Declared parameter/return types of the owner’s body, so a local subclass can emit its own payload adapter for this slot.
argument_metadata: Option<String>§ret_ty: Type§generic: boolAuto Trait Implementations§
impl Freeze for ImportedSlot
impl RefUnwindSafe for ImportedSlot
impl Send for ImportedSlot
impl Sync for ImportedSlot
impl Unpin for ImportedSlot
impl UnsafeUnpin for ImportedSlot
impl UnwindSafe for ImportedSlot
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