Trait bevy::utils::tracing::Value

source ·
pub trait Value: Sealed {
    // Required method
    fn record(&self, key: &Field, visitor: &mut dyn Visit);
}
Expand description

A field value of an erased type.

Implementors of Value may call the appropriate typed recording methods on the visitor passed to their record method in order to indicate how their data should be recorded.

Required Methods§

source

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.

Trait Implementations§

source§

impl Debug for dyn Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for dyn Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementations on Foreign Types§

source§

impl Value for bool

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for f32

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for f64

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for i8

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for i16

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for i32

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for i64

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for i128

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for isize

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for str

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for u8

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for u16

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for u32

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for u64

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for u128

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for usize

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroI8

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroI16

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroI32

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroI64

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroI128

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroIsize

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroU8

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroU16

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroU32

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroU64

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroU128

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for NonZeroUsize

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for dyn Error

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for dyn Error + Send

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for dyn Error + Send + Sync

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl Value for dyn Error + Sync

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl<'a> Value for Arguments<'a>

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl<'a, T> Value for &'a T
where T: Value + 'a + ?Sized,

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl<'a, T> Value for &'a mut T
where T: Value + 'a + ?Sized,

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl<T> Value for Option<T>
where T: Value,

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

source§

impl<T> Value for Wrapping<T>
where T: Value,

source§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Implementors§

source§

impl Value for String

source§

impl Value for Empty

source§

impl<T> Value for Box<T>
where T: Value + ?Sized,

source§

impl<T> Value for DebugValue<T>
where T: Debug,

source§

impl<T> Value for DisplayValue<T>
where T: Display,