pub struct DefaultContextPolicy;Expand description
Default descent through registered hooks or reflected structural fields.
Trait Implementations§
Source§impl<State> ContextPolicy<State> for DefaultContextPolicy
impl<State> ContextPolicy<State> for DefaultContextPolicy
Source§fn default_visit(
&self,
_value: &StructuralView,
visitor: &mut VisitContext<'_, State>,
) -> Result<Option<VisitInterrupt>>
fn default_visit( &self, _value: &StructuralView, visitor: &mut VisitContext<'_, State>, ) -> Result<Option<VisitInterrupt>>
Customize default descent for the current value. Read more
Auto Trait Implementations§
impl Freeze for DefaultContextPolicy
impl RefUnwindSafe for DefaultContextPolicy
impl Send for DefaultContextPolicy
impl Sync for DefaultContextPolicy
impl Unpin for DefaultContextPolicy
impl UnsafeUnpin for DefaultContextPolicy
impl UnwindSafe for DefaultContextPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more