pub struct ViewAnchorTarget {
pub anchor: AnchorKey,
pub ordinal: u32,
pub static_ast_path: Vec<u16>,
pub tag: String,
pub test_id: Option<String>,
}Expand description
Deterministic AnchorKey target for one direct-root patchable view! node.
Fields§
§anchor: AnchorKeyCollision-free XXH64 anchor key (compute_anchor_key(rel_file, ordinal, static_ast_path)).
ordinal: u32File-order 0-based ordinal of the enclosing view! invocation.
static_ast_path: Vec<u16>Static child-index path within the view! invocation.
tag: StringElement tag name (e.g. "Column", "Text") or "<text>" for bare string literals.
test_id: Option<String>Optional static test_id literal attached to this element.
Trait Implementations§
Source§impl Clone for ViewAnchorTarget
impl Clone for ViewAnchorTarget
Source§impl Debug for ViewAnchorTarget
impl Debug for ViewAnchorTarget
Source§impl Display for ViewAnchorTarget
impl Display for ViewAnchorTarget
impl Eq for ViewAnchorTarget
Source§impl PartialEq for ViewAnchorTarget
impl PartialEq for ViewAnchorTarget
impl StructuralPartialEq for ViewAnchorTarget
Auto Trait Implementations§
impl Forget for ViewAnchorTarget
impl Freeze for ViewAnchorTarget
impl Move for ViewAnchorTarget
impl RefUnwindSafe for ViewAnchorTarget
impl Send for ViewAnchorTargetwhere
RawVecInner: Send,
impl Sync for ViewAnchorTargetwhere
RawVecInner: Sync,
impl Unpin for ViewAnchorTarget
impl UnsafeUnpin for ViewAnchorTarget
impl UnwindSafe for ViewAnchorTargetwhere
RawVecInner: UnwindSafe,
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
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
Compare self to
key and return true if they are equal.