pub struct PT;Expand description
PowerTools correlation namespace — pt:Unid, pt:SHA1Hash,
pt:CorrelatedSHA1Hash, pt:StructureSHA1Hash, pt:Status,
pt:UniqueId, pt:RunIds, and the Word-mode stamps pt:DefaultLine,
pt:HasDefaultTableStyle. Attributes stamped on every comparison
unit and read back to keep the LCS / move detection deterministic;
stripped from the output before the package is written.
Marker for the namespace http://powertools.codeplex.com/2011.
All three associated items are generated:
Self::ns for the XNamespace, Self::name for an
XName in it, and Self::URI as a &'static str.
Implementations§
Source§impl PT
impl PT
Sourcepub const URI: &'static str = "http://powertools.codeplex.com/2011"
pub const URI: &'static str = "http://powertools.codeplex.com/2011"
The namespace URI as a &'static str. Use it in match arms
and other places that need a string constant.
Sourcepub fn ns() -> XNamespace
pub fn ns() -> XNamespace
The namespace, as an XNamespace rooted at this URI.
Source§impl PT
impl PT
Sourcepub fn unid() -> XName
pub fn unid() -> XName
Cached XName for the local name Unid.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn sha1_hash() -> XName
pub fn sha1_hash() -> XName
Cached XName for the local name SHA1Hash.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Cached XName for the local name CorrelatedSHA1Hash.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn structure_sha1_hash() -> XName
pub fn structure_sha1_hash() -> XName
Cached XName for the local name StructureSHA1Hash.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn status() -> XName
pub fn status() -> XName
Cached XName for the local name Status.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn unique_id() -> XName
pub fn unique_id() -> XName
Cached XName for the local name UniqueId.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn run_ids() -> XName
pub fn run_ids() -> XName
Cached XName for the local name RunIds.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn default_line() -> XName
pub fn default_line() -> XName
Cached XName for the local name DefaultLine.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Sourcepub fn has_default_table_style() -> XName
pub fn has_default_table_style() -> XName
Cached XName for the local name HasDefaultTableStyle.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).