pub enum RenderStepType {
Types,
ExtraTypes,
ExtraImpls,
Undefined,
}
Expand description
Defines the type of the render step.
This defines the type of a render steps and is used to manage mutually
exclusive render steps. For example the renderer pipeline should only
contain one single render step of type Types
.
Variants§
Types
Render step that renders the actual types defined in the schema. This type of render step should only exists once in the whole renderer pipeline.
ExtraTypes
Render step that renders additional type definitions they are not conflicting with the actual types defined in the schema.
ExtraImpls
Render step that renders additional implementation blocks or trait implementations for types defined in a different render step.
Undefined
The type of this render step is undefined. If you are implementing a custom render step and you are not sure what type to use, then use this one.
Implementations§
Source§impl RenderStepType
impl RenderStepType
Sourcepub fn is_mutual_exclusive_to(&self, other: Self) -> bool
pub fn is_mutual_exclusive_to(&self, other: Self) -> bool
Returns true
if the two types are mutual exclusive to each other, false
otherwise.
Trait Implementations§
Source§impl Clone for RenderStepType
impl Clone for RenderStepType
Source§fn clone(&self) -> RenderStepType
fn clone(&self) -> RenderStepType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RenderStepType
impl Debug for RenderStepType
Source§impl Default for RenderStepType
impl Default for RenderStepType
Source§fn default() -> RenderStepType
fn default() -> RenderStepType
Source§impl PartialEq for RenderStepType
impl PartialEq for RenderStepType
impl Copy for RenderStepType
impl Eq for RenderStepType
impl StructuralPartialEq for RenderStepType
Auto Trait Implementations§
impl Freeze for RenderStepType
impl RefUnwindSafe for RenderStepType
impl Send for RenderStepType
impl Sync for RenderStepType
impl Unpin for RenderStepType
impl UnwindSafe for RenderStepType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.