Crate bevy_mod_scripting_display

Crate bevy_mod_scripting_display 

Source
Expand description

Abstractions for displaying reflect values, potentially with access to the type registry

Structs§

DebugList
Helper wrapper around std::fmt::DebugList which formats list entries using DebugWithTypeInfo so each entry can use available type information during formatting.
DebugMap
Helper wrapper around std::fmt::DebugMap that formats map keys and values using DebugWithTypeInfo so both sides of each entry can render with optional type information.
DebugSet
Helper wrapper around std::fmt::DebugSet that formats set entries using DebugWithTypeInfo so entries can render with optional type information.
DebugStruct
A utility for formatting structs but with type info available Helper wrapper around std::fmt::DebugStruct that formats struct fields using DebugWithTypeInfo so that type-aware formatting is available for each field.
DebugTuple
Helper wrapper around std::fmt::DebugTuple that formats tuple elements using DebugWithTypeInfo so elements can render with optional type information.
PrintReflectAsDebug
A wrapper type that implements Debug for any PartialReflect by using ReflectPrinter.
ReflectDisplayWithTypeInfo
A type generated by the #reflect_trait macro for the DisplayWithTypeInfo trait.
ReflectPrinter
Contains a strategy for printing a Reflect value as if it was its native Debug implementation.
WithTypeInfo
newtype adapter for opting into DisplayWithTypeInfo for any T: DisplayWithTypeInfo Use as follows

Statics§

GLOBAL_TYPE_INFO_PROVIDER
A global type info provider that can be set once and used throughout the application It does not do the retrieval itself, but provides a function that points to the retrieval mechanism.

Traits§

DebugWithTypeInfo
An extension trait for displaying values with access to type information implementations should respect the following formatter options:
DebugWithTypeInfoBuilder
Extension methods for std::fmt::Formatter which create builders that format values using DebugWithTypeInfo. These helpers mirror the standard formatter builders (debug_struct, debug_tuple, etc.) but ensure that fields, entries and keys/values are displayed through the DebugWithTypeInfo adapter.
DisplayWithTypeInfo
An trait for displaying values with access to type information
GetTypeInfo
An abstraction for getting type information, potentially using the type registry.
GetTypeInfoExtensions
Extension trait for GetTypeInfo which provides non-type safe extensions
OrFakeId
A utility for getting a TypeId or a fake one if not present