pub struct QuickXmlCollectNamespacesRenderStep;Expand description
Implements a RenderStep that renders the CollectNamespaces
trait for every generated type.
This is required when using NamespaceSerialization::Dynamic
so that the serializer can traverse the value tree at runtime to discover which
XML namespaces are actually needed before emitting the root start element.
Trait Implementations§
Source§impl Clone for QuickXmlCollectNamespacesRenderStep
impl Clone for QuickXmlCollectNamespacesRenderStep
Source§fn clone(&self) -> QuickXmlCollectNamespacesRenderStep
fn clone(&self) -> QuickXmlCollectNamespacesRenderStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl RenderStep for QuickXmlCollectNamespacesRenderStep
impl RenderStep for QuickXmlCollectNamespacesRenderStep
Source§fn render_step_type(&self) -> RenderStepType
fn render_step_type(&self) -> RenderStepType
Returns the type of the render step.
Source§fn initialize(&mut self, meta: &mut MetaData<'_>)
fn initialize(&mut self, meta: &mut MetaData<'_>)
Initialized the renderer. Read more
Source§fn render_type(&mut self, ctx: &mut Context<'_, '_>)
fn render_type(&mut self, ctx: &mut Context<'_, '_>)
Renders the code for the given type. Read more
impl Copy for QuickXmlCollectNamespacesRenderStep
Auto Trait Implementations§
impl Freeze for QuickXmlCollectNamespacesRenderStep
impl RefUnwindSafe for QuickXmlCollectNamespacesRenderStep
impl Send for QuickXmlCollectNamespacesRenderStep
impl Sync for QuickXmlCollectNamespacesRenderStep
impl Unpin for QuickXmlCollectNamespacesRenderStep
impl UnsafeUnpin for QuickXmlCollectNamespacesRenderStep
impl UnwindSafe for QuickXmlCollectNamespacesRenderStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<X> RenderStepConfig for X
impl<X> RenderStepConfig for X
Source§fn render_step_type(&self) -> RenderStepType
fn render_step_type(&self) -> RenderStepType
Returns the type of this render step.
Source§fn boxed_clone(&self) -> Box<dyn RenderStepConfig>
fn boxed_clone(&self) -> Box<dyn RenderStepConfig>
Returns a boxed clone of the current object.
Source§fn into_render_step(self: Box<X>) -> Box<dyn RenderStep>
fn into_render_step(self: Box<X>) -> Box<dyn RenderStep>
Creates the actual render step and returned it as a box.
Source§fn is_mutual_exclusive_to(&self, other: &dyn RenderStepConfig) -> bool
fn is_mutual_exclusive_to(&self, other: &dyn RenderStepConfig) -> bool
Returns
true if self is mutual exclusive to other, false otherwise.