pub struct TemplateSlotTarget { /* private fields */ }Expand description
The static path an anchor binds to and whether that path is the last static node at its level.
Implementations§
Source§impl TemplateSlotTarget
impl TemplateSlotTarget
Sourcepub const fn static_path(self) -> TemplatePath
pub const fn static_path(self) -> TemplatePath
The static path this anchor binds to.
Sourcepub const fn is_last_static_node(self) -> bool
pub const fn is_last_static_node(self) -> bool
Whether this anchor points at the last static node before its dynamic slot.
Trait Implementations§
Source§impl Clone for TemplateSlotTarget
impl Clone for TemplateSlotTarget
impl Copy for TemplateSlotTarget
impl Eq for TemplateSlotTarget
Source§impl PartialEq for TemplateSlotTarget
impl PartialEq for TemplateSlotTarget
impl StructuralPartialEq for TemplateSlotTarget
Auto Trait Implementations§
impl Freeze for TemplateSlotTarget
impl RefUnwindSafe for TemplateSlotTarget
impl Send for TemplateSlotTarget
impl Sync for TemplateSlotTarget
impl Unpin for TemplateSlotTarget
impl UnsafeUnpin for TemplateSlotTarget
impl UnwindSafe for TemplateSlotTarget
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