pub struct InterfaceRequirement {
pub declaring_interface: Symbol,
pub parent_of: Option<Symbol>,
pub name: EcoString,
pub method: Method,
pub ty: Type,
}Fields§
§declaring_interface: Symbol§parent_of: Option<Symbol>§name: EcoString§method: MethodThe method as declared. Its type determines the generic declaration’s physical ABI even when substitution reveals a special logical type.
ty: TypeThe logical signature after applying all interface type arguments.
Trait Implementations§
Source§impl Clone for InterfaceRequirement
impl Clone for InterfaceRequirement
Source§impl Debug for InterfaceRequirement
impl Debug for InterfaceRequirement
Source§impl PartialEq for InterfaceRequirement
impl PartialEq for InterfaceRequirement
impl StructuralPartialEq for InterfaceRequirement
Auto Trait Implementations§
impl Forget for InterfaceRequirement
impl Freeze for InterfaceRequirementwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<EcoString>: Freeze,
*const ArcInner<Box<[Type]>> is !null: Freeze,
PhantomData<ArcInner<Box<[Type]>>>: Freeze,
*const ArcInner<FunctionType> is !null: Freeze,
PhantomData<ArcInner<FunctionType>>: Freeze,
PhantomData<Type>: Freeze,
*const Type is !null: Freeze,
*const ArcInner<Spelling> is !null: Freeze,
PhantomData<ArcInner<Spelling>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GoHint>: Freeze,
impl Move for InterfaceRequirement
impl RefUnwindSafe for InterfaceRequirement
impl Send for InterfaceRequirement
impl Sync for InterfaceRequirement
impl Unpin for InterfaceRequirement
impl UnsafeUnpin for InterfaceRequirementwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EcoString>: UnsafeUnpin,
*const ArcInner<Box<[Type]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Box<[Type]>>>: UnsafeUnpin,
*const ArcInner<FunctionType> is !null: UnsafeUnpin,
PhantomData<ArcInner<FunctionType>>: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
*const ArcInner<Spelling> is !null: UnsafeUnpin,
PhantomData<ArcInner<Spelling>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GoHint>: UnsafeUnpin,
impl UnwindSafe for InterfaceRequirementwhere
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
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