pub struct FlowElement {
pub element_type: String,
pub block_ids: Vec<String>,
pub columns: u32,
pub start_page: u32,
pub regions: Vec<FlowRegion>,
}Expand description
Flow element for automatic text flow across pages.
Fields§
§element_type: StringElement type (always “flow”).
block_ids: Vec<String>Content block IDs to flow.
columns: u32Number of columns.
start_page: u32Starting page number.
regions: Vec<FlowRegion>Flow regions on each page.
Trait Implementations§
Source§impl Clone for FlowElement
impl Clone for FlowElement
Source§fn clone(&self) -> FlowElement
fn clone(&self) -> FlowElement
Returns a duplicate of the value. Read more
1.0.0 · 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 FlowElement
impl Debug for FlowElement
Source§impl<'de> Deserialize<'de> for FlowElement
impl<'de> Deserialize<'de> for FlowElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FlowElement
impl PartialEq for FlowElement
Source§impl Serialize for FlowElement
impl Serialize for FlowElement
impl StructuralPartialEq for FlowElement
Auto Trait Implementations§
impl Freeze for FlowElement
impl RefUnwindSafe for FlowElement
impl Send for FlowElement
impl Sync for FlowElement
impl Unpin for FlowElement
impl UnsafeUnpin for FlowElement
impl UnwindSafe for FlowElement
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