#[non_exhaustive]pub enum RdDynamicMarkupState {
Unresolved {
stage: RdSexprStage,
},
}Expand description
Resolution state for a surviving dynamic markup expression.
There is no Expanded variant because lowering validates the producer’s
dynamicFlag attribute but discards it, so the AST cannot prove that
surrounding content is an evaluated replacement. Every surviving
\\Sexpr is unresolved for its effective stage. Renderer fallback policy
(show-as-code, warn-and-omit, or require-pre-expanded) is a downstream
decision made by matching Unresolved; rd-ast encodes no rendering
policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RdDynamicMarkupState
impl Clone for RdDynamicMarkupState
Source§fn clone(&self) -> RdDynamicMarkupState
fn clone(&self) -> RdDynamicMarkupState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RdDynamicMarkupState
Source§impl Debug for RdDynamicMarkupState
impl Debug for RdDynamicMarkupState
impl Eq for RdDynamicMarkupState
Source§impl PartialEq for RdDynamicMarkupState
impl PartialEq for RdDynamicMarkupState
impl StructuralPartialEq for RdDynamicMarkupState
Auto Trait Implementations§
impl Freeze for RdDynamicMarkupState
impl RefUnwindSafe for RdDynamicMarkupState
impl Send for RdDynamicMarkupState
impl Sync for RdDynamicMarkupState
impl Unpin for RdDynamicMarkupState
impl UnsafeUnpin for RdDynamicMarkupState
impl UnwindSafe for RdDynamicMarkupState
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