pub struct NamespaceConstantsRenderStep { /* private fields */ }
Expand description
Implements a RenderStep
that renders constants for the different namespaces
used in the schema.
Trait Implementations§
Source§impl Debug for NamespaceConstantsRenderStep
impl Debug for NamespaceConstantsRenderStep
Source§impl Default for NamespaceConstantsRenderStep
impl Default for NamespaceConstantsRenderStep
Source§fn default() -> NamespaceConstantsRenderStep
fn default() -> NamespaceConstantsRenderStep
Returns the “default value” for a type. Read more
Source§impl RenderStep for NamespaceConstantsRenderStep
impl RenderStep for NamespaceConstantsRenderStep
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
Auto Trait Implementations§
impl Freeze for NamespaceConstantsRenderStep
impl RefUnwindSafe for NamespaceConstantsRenderStep
impl Send for NamespaceConstantsRenderStep
impl Sync for NamespaceConstantsRenderStep
impl Unpin for NamespaceConstantsRenderStep
impl UnwindSafe for NamespaceConstantsRenderStep
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