MCPcopy Create free account
hub / github.com/Kethku/Pando / new

Method new

aspen/src/context_stack/attached_context.rs:36–46  ·  view source on GitHub ↗
(
        context: Context<'a>,
        window: &'a dyn ContextWindow,
        event_loop: &'a dyn ContextEventLoop,
    )

Source from the content-addressed store, hash-verified

34
35impl<'a> AttachedContext<'a> {
36 pub fn new(
37 context: Context<'a>,
38 window: &'a dyn ContextWindow,
39 event_loop: &'a dyn ContextEventLoop,
40 ) -> AttachedContext<'a> {
41 AttachedContext {
42 context,
43 event_loop,
44 window,
45 }
46 }
47
48 pub fn close(&self) {
49 self.event_loop.exit();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected