Skip to main content

W

Struct W 

Source
pub struct W;
Expand description

WordprocessingML (w:) — the main namespace for Word body, paragraph, run, table, and property elements and attributes. The hottest element and attribute constants are predefined on this struct (W::p, W::r, W::sect_pr, …) as OnceLock-cached methods.

Marker for the namespace http://schemas.openxmlformats.org/wordprocessingml/2006/main. 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 W

Source

pub const URI: &'static str = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"

The namespace URI as a &'static str. Use it in match arms and other places that need a string constant.

Source

pub fn ns() -> XNamespace

The namespace, as an XNamespace rooted at this URI.

Source

pub fn name(local: &str) -> XName

An XName for local in this namespace.

Source§

impl W

Source

pub fn document() -> XName

Cached XName for the local name document. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn background() -> XName

Cached XName for the local name background. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn body() -> XName

Cached XName for the local name body. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn p() -> XName

Cached XName for the local name p. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn r() -> XName

Cached XName for the local name r. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn t() -> XName

Cached XName for the local name t. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn proof_err() -> XName

Cached XName for the local name proofErr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn comment_range_start() -> XName

Cached XName for the local name commentRangeStart. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn comment_range_end() -> XName

Cached XName for the local name commentRangeEnd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn comment_reference() -> XName

Cached XName for the local name commentReference. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn comment() -> XName

Cached XName for the local name comment. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn content_part() -> XName

Cached XName for the local name contentPart. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn perm_start() -> XName

Cached XName for the local name permStart. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn perm_end() -> XName

Cached XName for the local name permEnd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn p_pr() -> XName

Cached XName for the local name pPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn r_pr() -> XName

Cached XName for the local name rPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn footnote() -> XName

Cached XName for the local name footnote. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn endnote() -> XName

Cached XName for the local name endnote. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn id() -> XName

Cached XName for the local name id. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn ins() -> XName

Cached XName for the local name ins. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn del() -> XName

Cached XName for the local name del. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn author() -> XName

Cached XName for the local name author. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn date() -> XName

Cached XName for the local name date. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn val() -> XName

Cached XName for the local name val. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn abstract_num() -> XName

Cached XName for the local name abstractNum. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn abstract_num_id() -> XName

Cached XName for the local name abstractNumId. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl() -> XName

Cached XName for the local name tbl. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tr() -> XName

Cached XName for the local name tr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tc() -> XName

Cached XName for the local name tc. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tc_pr() -> XName

Cached XName for the local name tcPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl_pr() -> XName

Cached XName for the local name tblPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl_pr_ex() -> XName

Cached XName for the local name tblPrEx. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl_pr_ex_change() -> XName

Cached XName for the local name tblPrExChange. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tr_pr() -> XName

Cached XName for the local name trPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn grid_span() -> XName

Cached XName for the local name gridSpan. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn grid_col() -> XName

Cached XName for the local name gridCol. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn type_() -> XName

Cached XName for the local name type. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn shd() -> XName

Cached XName for the local name shd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn fill() -> XName

Cached XName for the local name fill. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn bookmark_start() -> XName

Cached XName for the local name bookmarkStart. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn bookmark_end() -> XName

Cached XName for the local name bookmarkEnd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn del_text() -> XName

Cached XName for the local name delText. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn sect_pr() -> XName

Cached XName for the local name sectPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn drawing() -> XName

Cached XName for the local name drawing. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn object() -> XName

Cached XName for the local name object. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn pict() -> XName

Cached XName for the local name pict. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn txbx_content() -> XName

Cached XName for the local name txbxContent. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn move_from() -> XName

Cached XName for the local name moveFrom. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn move_to() -> XName

Cached XName for the local name moveTo. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn move_from_range_start() -> XName

Cached XName for the local name moveFromRangeStart. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn move_to_range_start() -> XName

Cached XName for the local name moveToRangeStart. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn move_from_range_end() -> XName

Cached XName for the local name moveFromRangeEnd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn move_to_range_end() -> XName

Cached XName for the local name moveToRangeEnd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn custom_xml() -> XName

Cached XName for the local name customXml. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn sdt() -> XName

Cached XName for the local name sdt. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn sdt_content() -> XName

Cached XName for the local name sdtContent. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn spacing_el() -> XName

Cached XName for the local name spacing. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn p_style() -> XName

Cached XName for the local name pStyle. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn r_style() -> XName

Cached XName for the local name rStyle. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn jc_el() -> XName

Cached XName for the local name jc. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn footnote_ref() -> XName

Cached XName for the local name footnoteRef. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn endnote_ref() -> XName

Cached XName for the local name endnoteRef. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn sdt_pr() -> XName

Cached XName for the local name sdtPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn fld_char() -> XName

Cached XName for the local name fldChar. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn instr_text() -> XName

Cached XName for the local name instrText. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn del_instr_text() -> XName

Cached XName for the local name delInstrText. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn num_pr() -> XName

Cached XName for the local name numPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn cell_del() -> XName

Cached XName for the local name cellDel. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn cell_ins() -> XName

Cached XName for the local name cellIns. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn cell_merge() -> XName

Cached XName for the local name cellMerge. 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 hyperlink. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn smart_tag() -> XName

Cached XName for the local name smartTag. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn dir() -> XName

Cached XName for the local name dir. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn bdo() -> XName

Cached XName for the local name bdo. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn r_pr_change() -> XName

Cached XName for the local name rPrChange. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn p_pr_change() -> XName

Cached XName for the local name pPrChange. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn numbering_change() -> XName

Cached XName for the local name numberingChange. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn v_merge() -> XName

Cached XName for the local name vMerge. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn hdr() -> XName

Cached XName for the local name hdr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn ftr() -> XName

Cached XName for the local name ftr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn fld_simple() -> XName

Cached XName for the local name fldSimple. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn fld_char_type() -> XName

Cached XName for the local name fldCharType. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn instr() -> XName

Cached XName for the local name instr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn header_reference() -> XName

Cached XName for the local name headerReference. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn footer_reference() -> XName

Cached XName for the local name footerReference. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn title_pg() -> XName

Cached XName for the local name titlePg. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl_grid() -> XName

Cached XName for the local name tblGrid. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl_ind() -> XName

Cached XName for the local name tblInd. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tbl_w() -> XName

Cached XName for the local name tblW. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tc_w() -> XName

Cached XName for the local name tcW. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn tc_pr_change() -> XName

Cached XName for the local name tcPrChange. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn grid_before() -> XName

Cached XName for the local name gridBefore. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn grid_after() -> XName

Cached XName for the local name gridAfter. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn sdt_end_pr() -> XName

Cached XName for the local name sdtEndPr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn style_id() -> XName

Cached XName for the local name styleId. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn rsid_r() -> XName

Cached XName for the local name rsidR. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn rsid_tr() -> XName

Cached XName for the local name rsidTr. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Source

pub fn w() -> XName

Cached XName for the local name w. Stored in a process-wide OnceLock so every compare avoids re-entering the interning table for the same syntactic name (NAME-01).

Auto Trait Implementations§

§

impl Forget for W

§

impl Freeze for W

§

impl Move for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnsafeUnpin for W

§

impl UnwindSafe for W

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.