Skip to content

Commit 11bd83d

Browse files
committed
add more processor docs
1 parent ca88925 commit 11bd83d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/bevy_reflect/src/serde/de/processor.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ use crate::{PartialReflect, TypeRegistration, TypeRegistry};
2828
/// the `load` function. This is where a processor is useful, as the processor
2929
/// can capture local variables.
3030
///
31+
/// A [`ReflectDeserializerProcessor`] always takes priority over a
32+
/// [`DeserializeWithRegistry`] implementation, so this is also useful for
33+
/// overriding deserialization behavior if you need to do something custom.
34+
///
3135
/// # Examples
3236
///
3337
/// Deserializing a reflected value in an asset loader, and replacing asset

0 commit comments

Comments
 (0)