pub struct TextBox {
Show 17 fields pub children: Vec<TextBoxContentChild>, pub size: (u32, u32), pub position_type: DrawingPositionType, pub simple_pos: bool, pub simple_pos_x: i32, pub simple_pos_y: i32, pub layout_in_cell: bool, pub relative_height: u32, pub allow_overlap: bool, pub position_h: DrawingPosition, pub position_v: DrawingPosition, pub relative_from_h: RelativeFromHType, pub relative_from_v: RelativeFromVType, pub dist_t: i32, pub dist_b: i32, pub dist_l: i32, pub dist_r: i32,
}

Fields

children: Vec<TextBoxContentChild>size: (u32, u32)position_type: DrawingPositionTypesimple_pos: bool

Specifies that this object shall be positioned using the positioning information in the simplePos child element (§20.4.2.13). This positioning, when specified, positions the object on the page by placing its top left point at the x-y coordinates specified by that element.

simple_pos_x: i32simple_pos_y: i32layout_in_cell: bool

Specifies how this DrawingML object behaves when its anchor is located in a table cell; and its specified position would cause it to intersect with a table cell displayed in the document. That behavior shall be as follows:

relative_height: u32

Specifies the relative Z-ordering of all DrawingML objects in this document. Each floating DrawingML object shall have a Z-ordering value, which determines which object is displayed when any two objects intersect. Higher values shall indicate higher Z-order; lower values shall indicate lower Z-order.

allow_overlap: boolposition_h: DrawingPositionposition_v: DrawingPositionrelative_from_h: RelativeFromHTyperelative_from_v: RelativeFromVTypedist_t: i32

Specifies the minimum distance which shall be maintained between the top edge of this drawing object and any subsequent text within the document when this graphical object is displayed within the document’s contents., The distance shall be measured in EMUs (English Metric Units).,

dist_b: i32dist_l: i32dist_r: i32

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.