MCPcopy Create free account
hub / github.com/awslabs/llrt / clone

Method clone

modules/llrt_stream_web/src/readable/default_controller.rs:26–28  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

24pub struct NativePull<'js>(pub Rc<NativePullFn<'js>>);
25impl<'js> Clone for NativePull<'js> {
26 fn clone(&self) -> Self {
27 Self(self.0.clone())
28 }
29}
30unsafe impl<'js> JsLifetime<'js> for NativePull<'js> {
31 type Changed<'to> = NativePull<'to>;

Calls

no outgoing calls

Tested by

no test coverage detected