MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / This

Class This

cel/src/magic.rs:141–141  ·  view source on GitHub ↗

A function argument abstraction enabling dynamic method invocation on a target instance or on the first argument if the function is not called as a method. This is similar to how methods can be called as functions using the [fully-qualified syntax](https://doc.rust-lang.org/book/ch19-03-advanced-traits.html#fully-qualified-syntax-for-disambiguation-calling-methods-with-the-same-name). # Using `T

Source from the content-addressed store, hash-verified

139/// }
140/// ```
141pub struct This<T>(pub T);
142
143impl<'a, 'context, 'call, T> FromContext<'a, 'context, 'call> for This<T>
144where

Callers 1

from_contextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected