pub struct MagicFunctionCallContext {
pub solver: NonNull<ConstraintSolver>,
pub constraint: NonNull<Constraint>,
pub call_site: NonNull<AstExprCall>,
pub arguments: TypePackId,
pub result: TypePackId,
}Fields§
§solver: NonNull<ConstraintSolver>§constraint: NonNull<Constraint>§call_site: NonNull<AstExprCall>§arguments: TypePackId§result: TypePackIdTrait Implementations§
Source§impl Clone for MagicFunctionCallContext
impl Clone for MagicFunctionCallContext
Source§fn clone(&self) -> MagicFunctionCallContext
fn clone(&self) -> MagicFunctionCallContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MagicFunctionCallContext
Auto Trait Implementations§
impl !RefUnwindSafe for MagicFunctionCallContext
impl !Send for MagicFunctionCallContext
impl !Sync for MagicFunctionCallContext
impl !UnwindSafe for MagicFunctionCallContext
impl Freeze for MagicFunctionCallContext
impl Unpin for MagicFunctionCallContext
impl UnsafeUnpin for MagicFunctionCallContext
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