Enum docx_rs::RelativeFromHType
source · pub enum RelativeFromHType {
Character,
Column,
InsideMargin,
LeftMargin,
Margin,
OutsizeMargin,
Page,
RightMargin,
}
Variants§
Character
Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.
Column
Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor.
InsideMargin
Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages).
LeftMargin
Specifies that the horizontal positioning shall be relative to the left margin of the page.
Margin
Specifies that the horizontal positioning shall be relative to the page margins.
OutsizeMargin
Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages).
Page
Specifies that the horizontal positioning shall be relative to the edge of the page.
RightMargin
Specifies that the horizontal positioning shall be relative to the right margin of the page.
Trait Implementations§
source§impl Clone for RelativeFromHType
impl Clone for RelativeFromHType
source§fn clone(&self) -> RelativeFromHType
fn clone(&self) -> RelativeFromHType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RelativeFromHType
impl Debug for RelativeFromHType
source§impl Default for RelativeFromHType
impl Default for RelativeFromHType
source§impl Display for RelativeFromHType
impl Display for RelativeFromHType
source§impl FromStr for RelativeFromHType
impl FromStr for RelativeFromHType
source§impl PartialEq for RelativeFromHType
impl PartialEq for RelativeFromHType
source§fn eq(&self, other: &RelativeFromHType) -> bool
fn eq(&self, other: &RelativeFromHType) -> bool
self
and other
values to be equal, and is used
by ==
.