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

Method clone

modules/llrt_stream_web/src/readable/objects.rs:50–56  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

48 for ReadableStreamClassObjects<'js, C, R>
49{
50 fn clone(&self) -> Self {
51 Self {
52 stream: self.stream.clone(),
53 controller: self.controller.clone(),
54 reader: self.reader.clone(),
55 }
56 }
57}
58
59// derive(Trace) isn't clever enough to figure out that C and R don't need to implement Trace, but only C::Class and R::Class.

Calls

no outgoing calls

Tested by 7

test_to_objectFunction · 0.36
test_utf_8Function · 0.36
test_utf8_byte_by_byteFunction · 0.36
test_base64Function · 0.36
test_utf16leFunction · 0.36