MCPcopy Create free account
hub / github.com/Houtamelo/spire_enum / clone

Method clone

tests/src/no_std_tests/basic_enum_test.rs:18–22  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

16 Result<T, E>: From<E>,
17{
18 fn clone(&self) -> Self {
19 delegate_result! {
20 self => |v| v.clone().into()
21 }
22 }
23}
24
25// Test with struct variants

Calls

no outgoing calls

Tested by

no test coverage detected