pub struct UnsupportedValueNode { /* private fields */ }Expand description
Placeholder node for config value types that are not renderable yet.
Object values currently compile to this node unless they are the special
top-level context object handled by RuleSet::from_config. Rendering this
node returns RenderError::UnsupportedValue.
Implementations§
Trait Implementations§
Source§impl TextGeneratorNode for UnsupportedValueNode
impl TextGeneratorNode for UnsupportedValueNode
Source§fn generate_text(
&self,
_state: &mut RenderState<'_>,
) -> Result<String, RenderError>
fn generate_text( &self, _state: &mut RenderState<'_>, ) -> Result<String, RenderError>
Generates text using the supplied render state.
Auto Trait Implementations§
impl Freeze for UnsupportedValueNode
impl RefUnwindSafe for UnsupportedValueNode
impl Send for UnsupportedValueNode
impl Sync for UnsupportedValueNode
impl Unpin for UnsupportedValueNode
impl UnsafeUnpin for UnsupportedValueNode
impl UnwindSafe for UnsupportedValueNode
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