Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ to_variant
Method
to_variant
perro_source/core/perro_variant/src/variant.rs:610–612 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
608
mod convert;
609
mod derive;
610
mod json;
611
#[cfg(test)]
612
mod size_probe;
613
use json::*;
Callers
13
into_variant
Method · 0.45
into_variant
Method · 0.45
from
Method · 0.45
test_matrix_any_size_f32_parse_and_shape
Function · 0.45
test_nested_sq_matrix_parse_and_shape
Function · 0.45
test_generic_square_matrix_parses_from_engine_struct_fast_variant
Function · 0.45
test_derive_variant_tuple_roundtrip
Function · 0.45
test_derive_variant_vec_tuple_roundtrip
Function · 0.45
test_derive_variant_std_qol_roundtrips
Function · 0.45
test_derive_variant_more_std_qol_roundtrips
Function · 0.45
test_derive_variant_rust_std_qol_roundtrips
Function · 0.45
test_derive_variant_rust_std_scalar_wrappers_roundtrips
Function · 0.45
Calls
10
matrix_to_fast_variant
Function · 0.85
matrix_to_variant_array
Function · 0.85
clone
Method · 0.80
borrow
Method · 0.80
to_arc_key
Method · 0.80
to_f32
Method · 0.45
as_ref
Method · 0.45
get
Method · 0.45
iter
Method · 0.45
insert
Method · 0.45
Tested by
10
test_matrix_any_size_f32_parse_and_shape
Function · 0.36
test_nested_sq_matrix_parse_and_shape
Function · 0.36
test_generic_square_matrix_parses_from_engine_struct_fast_variant
Function · 0.36
test_derive_variant_tuple_roundtrip
Function · 0.36
test_derive_variant_vec_tuple_roundtrip
Function · 0.36
test_derive_variant_std_qol_roundtrips
Function · 0.36
test_derive_variant_more_std_qol_roundtrips
Function · 0.36
test_derive_variant_rust_std_qol_roundtrips
Function · 0.36
test_derive_variant_rust_std_scalar_wrappers_roundtrips
Function · 0.36
test_derive_variant_path_and_system_time_roundtrips
Function · 0.36