pub struct DefaultsRenderStep;
Expand description
Implements a RenderStep
that renders associated methods that return the default
values of the different attributes and elements according to the schema.
Trait Implementations§
Source§impl Debug for DefaultsRenderStep
impl Debug for DefaultsRenderStep
Source§impl RenderStep for DefaultsRenderStep
impl RenderStep for DefaultsRenderStep
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
Source§fn initialize(&mut self, meta: &mut MetaData<'_>)
fn initialize(&mut self, meta: &mut MetaData<'_>)
Initialized the renderer. Read more
Auto Trait Implementations§
impl Freeze for DefaultsRenderStep
impl RefUnwindSafe for DefaultsRenderStep
impl Send for DefaultsRenderStep
impl Sync for DefaultsRenderStep
impl Unpin for DefaultsRenderStep
impl UnwindSafe for DefaultsRenderStep
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