Trait layout_2013::flow::ImmutableFlowUtils

source ·
pub trait ImmutableFlowUtils {
Show 14 methods // Required methods fn is_block_like(self) -> bool; fn is_table(self) -> bool; fn is_table_caption(self) -> bool; fn is_table_row(self) -> bool; fn is_table_cell(self) -> bool; fn is_table_colgroup(self) -> bool; fn is_table_rowgroup(self) -> bool; fn child_count(self) -> usize; fn is_block_flow(self) -> bool; fn is_inline_flow(self) -> bool; fn print(self, title: String); fn print_with_tree(self, print_tree: &mut PrintTree); fn floats_might_flow_through(self) -> bool; fn baseline_offset_of_last_line_box_in_flow(self) -> Option<Au>;
}

Required Methods§

source

fn is_block_like(self) -> bool

Returns true if this flow is a block flow or subclass thereof.

source

fn is_table(self) -> bool

Returns true if this flow is a table flow.

source

fn is_table_caption(self) -> bool

Returns true if this flow is a table caption flow.

source

fn is_table_row(self) -> bool

Returns true if this flow is a table row flow.

source

fn is_table_cell(self) -> bool

Returns true if this flow is a table cell flow.

source

fn is_table_colgroup(self) -> bool

Returns true if this flow is a table colgroup flow.

source

fn is_table_rowgroup(self) -> bool

Returns true if this flow is a table rowgroup flow.

source

fn child_count(self) -> usize

Returns the number of children that this flow possesses.

source

fn is_block_flow(self) -> bool

Returns true if this flow is a block flow.

source

fn is_inline_flow(self) -> bool

Returns true if this flow is an inline flow.

source

fn print(self, title: String)

Dumps the flow tree for debugging.

source

fn print_with_tree(self, print_tree: &mut PrintTree)

Dumps the flow tree for debugging into the given PrintTree.

source

fn floats_might_flow_through(self) -> bool

Returns true if floats might flow through this flow, as determined by the float placement speculation pass.

source

fn baseline_offset_of_last_line_box_in_flow(self) -> Option<Au>

Implementors§

source§

impl<'a> ImmutableFlowUtils for &'a dyn Flow