pub trait OriginTrackerContext {
// Required method
fn origin_tracker(&mut self) -> OriginTracker;
}
Expand description
A trait abstracting a context containing an OriginTracker
.
This allows API structs to extract origin from contexts when creating resources.
Required Methods§
Sourcefn origin_tracker(&mut self) -> OriginTracker
fn origin_tracker(&mut self) -> OriginTracker
Gets the origin tracker for this context.