MCPcopy Create free account
hub / github.com/PerroEngine/Perro / EngineStruct

Enum EngineStruct

perro_source/core/perro_variant/src/variant.rs:292–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 pub const fn as_str(self) -> &'static str {
291 match self {
292 VariantKind::Null => "Null",
293 VariantKind::Bool => "Bool",
294 VariantKind::Number => "Number",
295 VariantKind::String => "String",
296 VariantKind::Bytes => "Bytes",
297 VariantKind::ID => "ID",
298 VariantKind::EngineStruct => "EngineStruct",
299 VariantKind::Array => "Array",
300 VariantKind::Object => "Object",
301 }
302 }
303}
304
305#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
306pub enum IDs {
307 Node(NodeID),
308 Texture(TextureID),
309 Material(MaterialID),
310 Mesh(MeshID),
311 Animation(AnimationID),
312 AnimationTree(AnimationTreeID),
313 NavMesh(NavMeshID),
314 SoundFont(SoundFontID),
315 Light(LightID),
316 Signal(SignalID),

Callers 1

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected