pub enum LayoutStrategy {
Positioned,
TopToBottom,
LeftToRightTB,
RightToLeftTB,
Table,
Row,
}Expand description
Layout strategy for a container.
XFA Spec 3.3 §2.6 (p43) — Two layout strategies: Positioned: objects at fixed x,y coordinates (default for most containers). Flowing: objects placed sequentially — tb, lr-tb, rl-tb, table, row. pageArea always uses positioned layout only.
Variants§
Positioned
Fixed x,y coordinates (default for subforms).
TopToBottom
Top-to-bottom flow (layout=“tb”).
LeftToRightTB
Left-to-right, top-to-bottom wrapping (layout=“lr-tb”).
RightToLeftTB
Right-to-left, top-to-bottom wrapping (layout=“rl-tb”).
Table
Table layout (layout=“table”).
Row
Row within a table (layout=“row”).
Trait Implementations§
Source§impl Clone for LayoutStrategy
impl Clone for LayoutStrategy
Source§fn clone(&self) -> LayoutStrategy
fn clone(&self) -> LayoutStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutStrategy
impl Debug for LayoutStrategy
Source§impl Default for LayoutStrategy
impl Default for LayoutStrategy
Source§fn default() -> LayoutStrategy
fn default() -> LayoutStrategy
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutStrategy
impl PartialEq for LayoutStrategy
Source§fn eq(&self, other: &LayoutStrategy) -> bool
fn eq(&self, other: &LayoutStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LayoutStrategy
impl Eq for LayoutStrategy
impl StructuralPartialEq for LayoutStrategy
Auto Trait Implementations§
impl Freeze for LayoutStrategy
impl RefUnwindSafe for LayoutStrategy
impl Send for LayoutStrategy
impl Sync for LayoutStrategy
impl Unpin for LayoutStrategy
impl UnsafeUnpin for LayoutStrategy
impl UnwindSafe for LayoutStrategy
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