pub struct TemplateLoweringCursor { /* private fields */ }Implementations§
Source§impl TemplateLoweringCursor
impl TemplateLoweringCursor
pub const fn new() -> Self
pub const fn open_element(&mut self, enter_index: usize, namespace: bool)
pub const fn close_element(&mut self) -> TemplateElementFrame
pub const fn next_node_path(&mut self) -> TemplatePath
Sourcepub fn static_root_anchor(&self) -> Option<(u16, TemplateSlotPath)>
pub fn static_root_anchor(&self) -> Option<(u16, TemplateSlotPath)>
Return a structural root static anchor if the next root position needs one.
Sourcepub fn dynamic_attr_anchor(&self) -> (u16, TemplateSlotPath, bool)
pub fn dynamic_attr_anchor(&self) -> (u16, TemplateSlotPath, bool)
Return the current element’s dynamic attribute anchor and whether its path overflowed.
Sourcepub fn dynamic_node_anchor(
&self,
following_static_at_parent: bool,
) -> (u16, TemplateSlotPath, bool)
pub fn dynamic_node_anchor( &self, following_static_at_parent: bool, ) -> (u16, TemplateSlotPath, bool)
Return the next dynamic node anchor and whether its path overflowed.
pub const fn finish(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TemplateLoweringCursor
impl RefUnwindSafe for TemplateLoweringCursor
impl Send for TemplateLoweringCursor
impl Sync for TemplateLoweringCursor
impl Unpin for TemplateLoweringCursor
impl UnsafeUnpin for TemplateLoweringCursor
impl UnwindSafe for TemplateLoweringCursor
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