pub struct RenderTable { /* private fields */ }Expand description
A table where the columns and rows are sized to fit the contents of the cells.
Implementations§
Source§impl RenderTable
impl RenderTable
Sourcepub fn new(
app: &mut App,
text_direction: TextDirection,
) -> RenderHandle<RenderTable>
pub fn new( app: &mut App, text_direction: TextDirection, ) -> RenderHandle<RenderTable>
Creates a table render object with no rows or columns.
Dart’s columns, rows and children arguments are set_columns,
set_rows and set_children, and its other named
arguments are the setters: set_column_widths (empty),
set_default_column_width
(FlexColumnWidth::default_width), set_border,
set_row_decorations,
set_configuration (ImageConfiguration::EMPTY),
set_default_vertical_alignment
(TableCellVerticalAlignment::Top) and set_text_baseline.
Sourcepub fn columns(self: RenderHandle<Self>, app: &App) -> usize
pub fn columns(self: RenderHandle<Self>, app: &App) -> usize
The number of vertical alignment lines in this table.
Changing the number of columns will remove any children that no longer fit in the table.
Changing the number of columns is an expensive operation because the table needs to rearrange its internal representation.
Sourcepub fn set_columns(self: RenderHandle<Self>, app: &mut App, value: usize)
pub fn set_columns(self: RenderHandle<Self>, app: &mut App, value: usize)
Sets columns.
Sourcepub fn rows(self: RenderHandle<Self>, app: &App) -> usize
pub fn rows(self: RenderHandle<Self>, app: &App) -> usize
The number of horizontal alignment lines in this table.
Changing the number of rows will remove any children that no longer fit in the table.
Sourcepub fn column_widths(
self: RenderHandle<Self>,
app: &App,
) -> HashMap<usize, TableColumnWidthRef>
pub fn column_widths( self: RenderHandle<Self>, app: &App, ) -> HashMap<usize, TableColumnWidthRef>
How the horizontal extents of the columns of this table should be determined.
If the map has no entry for a given column, the table uses the
default_column_width instead.
The layout performance of the table depends critically on which column sizing
algorithms are used here. In particular, IntrinsicColumnWidth is quite expensive
because it needs to measure each cell in the column to determine the intrinsic size of
the column.
This property can never return None. If it is set to None, and the existing map is
not empty, then the value is replaced by an empty map. (If it is set to None while the
current value is an empty map, the value is not changed.)
Sourcepub fn set_column_widths(
self: RenderHandle<Self>,
app: &mut App,
value: Option<HashMap<usize, TableColumnWidthRef>>,
)
pub fn set_column_widths( self: RenderHandle<Self>, app: &mut App, value: Option<HashMap<usize, TableColumnWidthRef>>, )
Sets column_widths.
Sourcepub fn set_column_width(
self: RenderHandle<Self>,
app: &mut App,
column: usize,
value: TableColumnWidthRef,
)
pub fn set_column_width( self: RenderHandle<Self>, app: &mut App, column: usize, value: TableColumnWidthRef, )
Determines how the width of column with the given index is determined.
Sourcepub fn default_column_width(
self: RenderHandle<Self>,
app: &App,
) -> TableColumnWidthRef
pub fn default_column_width( self: RenderHandle<Self>, app: &App, ) -> TableColumnWidthRef
How to determine with widths of columns that don’t have an explicit sizing algorithm.
Specifically, the default_column_width is used for
column i if column_widths[i] is absent.
Sourcepub fn set_default_column_width(
self: RenderHandle<Self>,
app: &mut App,
value: TableColumnWidthRef,
)
pub fn set_default_column_width( self: RenderHandle<Self>, app: &mut App, value: TableColumnWidthRef, )
Sets default_column_width.
Sourcepub fn text_direction(self: RenderHandle<Self>, app: &App) -> TextDirection
pub fn text_direction(self: RenderHandle<Self>, app: &App) -> TextDirection
The direction in which the columns are ordered.
Sourcepub fn set_text_direction(
self: RenderHandle<Self>,
app: &mut App,
value: TextDirection,
)
pub fn set_text_direction( self: RenderHandle<Self>, app: &mut App, value: TextDirection, )
Sets text_direction.
Sourcepub fn border(self: RenderHandle<Self>, app: &App) -> Option<TableBorder>
pub fn border(self: RenderHandle<Self>, app: &App) -> Option<TableBorder>
The style to use when painting the boundary and interior divisions of the table.
Sourcepub fn set_border(
self: RenderHandle<Self>,
app: &mut App,
value: Option<TableBorder>,
)
pub fn set_border( self: RenderHandle<Self>, app: &mut App, value: Option<TableBorder>, )
Sets border.
Sourcepub fn row_decorations(
self: RenderHandle<Self>,
app: &App,
) -> &[Option<Box<dyn Decoration>>]
pub fn row_decorations( self: RenderHandle<Self>, app: &App, ) -> &[Option<Box<dyn Decoration>>]
The decorations to use for each row of the table.
Row decorations fill the horizontal and vertical extent of each row in the table, unlike decorations for individual cells, which might not fill either.
Sourcepub fn set_row_decorations(
self: RenderHandle<Self>,
app: &mut App,
value: Option<Vec<Option<Box<dyn Decoration>>>>,
)
pub fn set_row_decorations( self: RenderHandle<Self>, app: &mut App, value: Option<Vec<Option<Box<dyn Decoration>>>>, )
Sets row_decorations.
Sourcepub fn configuration(self: RenderHandle<Self>, app: &App) -> &ImageConfiguration
pub fn configuration(self: RenderHandle<Self>, app: &App) -> &ImageConfiguration
The settings to pass to the row_decorations when painting, so
that they can resolve images appropriately. See ImageConfiguration.
Sourcepub fn set_configuration(
self: RenderHandle<Self>,
app: &mut App,
value: ImageConfiguration,
)
pub fn set_configuration( self: RenderHandle<Self>, app: &mut App, value: ImageConfiguration, )
Sets configuration.
Sourcepub fn default_vertical_alignment(
self: RenderHandle<Self>,
app: &App,
) -> TableCellVerticalAlignment
pub fn default_vertical_alignment( self: RenderHandle<Self>, app: &App, ) -> TableCellVerticalAlignment
How cells that do not explicitly specify a vertical alignment are aligned vertically.
Sourcepub fn set_default_vertical_alignment(
self: RenderHandle<Self>,
app: &mut App,
value: TableCellVerticalAlignment,
)
pub fn set_default_vertical_alignment( self: RenderHandle<Self>, app: &mut App, value: TableCellVerticalAlignment, )
Sourcepub fn text_baseline(
self: RenderHandle<Self>,
app: &App,
) -> Option<TextBaseline>
pub fn text_baseline( self: RenderHandle<Self>, app: &App, ) -> Option<TextBaseline>
The text baseline to use when aligning rows using
TableCellVerticalAlignment::Baseline.
Sourcepub fn set_text_baseline(
self: RenderHandle<Self>,
app: &mut App,
value: Option<TextBaseline>,
)
pub fn set_text_baseline( self: RenderHandle<Self>, app: &mut App, value: Option<TextBaseline>, )
Sets text_baseline.
Sourcepub fn set_flat_children(
self: RenderHandle<Self>,
app: &mut App,
columns: usize,
cells: Vec<Option<AnyRenderBox>>,
)
pub fn set_flat_children( self: RenderHandle<Self>, app: &mut App, columns: usize, cells: Vec<Option<AnyRenderBox>>, )
Replaces the children of this table with the given cells.
The cells are divided into the specified number of columns before replacing the existing children.
If the new cells contain any existing children of the table, those children are moved to their new location in the table rather than removed from the table and re-added.
Sourcepub fn set_children(
self: RenderHandle<Self>,
app: &mut App,
cells: Option<Vec<Vec<AnyRenderBox>>>,
)
pub fn set_children( self: RenderHandle<Self>, app: &mut App, cells: Option<Vec<Vec<AnyRenderBox>>>, )
Replaces the children of this table with the given cells.
Sourcepub fn add_row(
self: RenderHandle<Self>,
app: &mut App,
cells: Vec<Option<AnyRenderBox>>,
)
pub fn add_row( self: RenderHandle<Self>, app: &mut App, cells: Vec<Option<AnyRenderBox>>, )
Adds a row to the end of the table.
The newly added children must not already have parents.
Sourcepub fn set_child(
self: RenderHandle<Self>,
app: &mut App,
x: usize,
y: usize,
value: Option<AnyRenderBox>,
)
pub fn set_child( self: RenderHandle<Self>, app: &mut App, x: usize, y: usize, value: Option<AnyRenderBox>, )
Replaces the child at the given position with the given child.
If the given child is already located at the given position, this function does not modify the table. Otherwise, the given child must not already have a parent.
Sourcepub fn column(
self: RenderHandle<Self>,
app: &App,
x: usize,
) -> Vec<AnyRenderBox>
pub fn column( self: RenderHandle<Self>, app: &App, x: usize, ) -> Vec<AnyRenderBox>
Returns the list of RenderBox objects that are in the given column, in row order,
starting from the first row.
Sourcepub fn row(self: RenderHandle<Self>, app: &App, y: usize) -> Vec<AnyRenderBox>
pub fn row(self: RenderHandle<Self>, app: &App, y: usize) -> Vec<AnyRenderBox>
Returns the list of RenderBox objects that are on the given row, in column order,
starting with the first column.
Sourcepub fn get_row_box(self: RenderHandle<Self>, app: &App, row: usize) -> Rect
pub fn get_row_box(self: RenderHandle<Self>, app: &App, row: usize) -> Rect
Returns the position and dimensions of the box that the given row covers, in this render object’s coordinate space (so the left coordinate is always 0.0).
The row being queried must exist.
This is only valid after layout.
Trait Implementations§
Source§impl RenderBox for RenderTable
impl RenderBox for RenderTable
Source§fn compute_distance_to_actual_baseline(
self: RenderHandle<Self>,
app: &mut App,
_baseline: TextBaseline,
) -> Option<f64>
fn compute_distance_to_actual_baseline( self: RenderHandle<Self>, app: &mut App, _baseline: TextBaseline, ) -> Option<f64>
Returns the baseline offset of the cell in the first row with the lowest baseline, and
uses TableCellVerticalAlignment::Baseline.
Source§fn render_box_data(self: RenderHandle<Self>, app: &App) -> &RenderBoxData
fn render_box_data(self: RenderHandle<Self>, app: &App) -> &RenderBoxData
Source§fn render_box_data_mut(
self: RenderHandle<Self>,
app: &mut App,
) -> &mut RenderBoxData
fn render_box_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderBoxData
render_box_data.Source§fn setup_parent_data(
self: RenderHandle<Self>,
app: &mut App,
child: AnyRenderObject,
)
fn setup_parent_data( self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject, )
BoxParentData unless the child already has it. Read moreSource§fn compute_min_intrinsic_width(
self: RenderHandle<Self>,
app: &mut App,
_height: f64,
) -> f64
fn compute_min_intrinsic_width( self: RenderHandle<Self>, app: &mut App, _height: f64, ) -> f64
get_min_intrinsic_width.
Do not call this function directly, instead, call
get_min_intrinsic_width. Read moreSource§fn compute_max_intrinsic_width(
self: RenderHandle<Self>,
app: &mut App,
_height: f64,
) -> f64
fn compute_max_intrinsic_width( self: RenderHandle<Self>, app: &mut App, _height: f64, ) -> f64
get_max_intrinsic_width.
Do not call this function directly, instead, call
get_max_intrinsic_width. Read moreSource§fn compute_min_intrinsic_height(
self: RenderHandle<Self>,
app: &mut App,
width: f64,
) -> f64
fn compute_min_intrinsic_height( self: RenderHandle<Self>, app: &mut App, width: f64, ) -> f64
get_min_intrinsic_height. Do not call this function
directly, instead, call get_min_intrinsic_height. Read moreSource§fn compute_max_intrinsic_height(
self: RenderHandle<Self>,
app: &mut App,
width: f64,
) -> f64
fn compute_max_intrinsic_height( self: RenderHandle<Self>, app: &mut App, width: f64, ) -> f64
get_max_intrinsic_height. Do not call this function
directly, instead, call get_max_intrinsic_height. Read moreSource§fn compute_dry_baseline(
self: RenderHandle<Self>,
app: &mut App,
constraints: BoxConstraints,
baseline: TextBaseline,
) -> Option<f64>
fn compute_dry_baseline( self: RenderHandle<Self>, app: &mut App, constraints: BoxConstraints, baseline: TextBaseline, ) -> Option<f64>
get_dry_baseline. Read moreSource§fn compute_dry_layout(
self: RenderHandle<Self>,
app: &mut App,
constraints: BoxConstraints,
) -> Size
fn compute_dry_layout( self: RenderHandle<Self>, app: &mut App, constraints: BoxConstraints, ) -> Size
get_dry_layout. Do not call this
function directly, instead, call get_dry_layout. Read moreSource§fn hit_test_children(
self: RenderHandle<Self>,
app: &mut App,
result: &mut BoxHitTestResult<'_>,
position: Offset,
) -> bool
fn hit_test_children( self: RenderHandle<Self>, app: &mut App, result: &mut BoxHitTestResult<'_>, position: Offset, ) -> bool
Source§fn constraints(self: RenderHandle<Self>, app: &App) -> BoxConstraints
fn constraints(self: RenderHandle<Self>, app: &App) -> BoxConstraints
Source§fn get_min_intrinsic_width(
self: RenderHandle<Self>,
app: &mut App,
height: f64,
) -> f64
fn get_min_intrinsic_width( self: RenderHandle<Self>, app: &mut App, height: f64, ) -> f64
Source§fn get_max_intrinsic_width(
self: RenderHandle<Self>,
app: &mut App,
height: f64,
) -> f64
fn get_max_intrinsic_width( self: RenderHandle<Self>, app: &mut App, height: f64, ) -> f64
Source§fn get_min_intrinsic_height(
self: RenderHandle<Self>,
app: &mut App,
width: f64,
) -> f64
fn get_min_intrinsic_height( self: RenderHandle<Self>, app: &mut App, width: f64, ) -> f64
Source§fn get_max_intrinsic_height(
self: RenderHandle<Self>,
app: &mut App,
width: f64,
) -> f64
fn get_max_intrinsic_height( self: RenderHandle<Self>, app: &mut App, width: f64, ) -> f64
Source§fn get_dry_layout(
self: RenderHandle<Self>,
app: &mut App,
constraints: BoxConstraints,
) -> Size
fn get_dry_layout( self: RenderHandle<Self>, app: &mut App, constraints: BoxConstraints, ) -> Size
Source§fn get_dry_baseline(
self: RenderHandle<Self>,
app: &mut App,
constraints: BoxConstraints,
baseline: TextBaseline,
) -> Option<f64>
fn get_dry_baseline( self: RenderHandle<Self>, app: &mut App, constraints: BoxConstraints, baseline: TextBaseline, ) -> Option<f64>
Source§fn debug_cannot_compute_dry_layout(
self: RenderHandle<Self>,
failure: DryLayoutFailure<'_>,
)
fn debug_cannot_compute_dry_layout( self: RenderHandle<Self>, failure: DryLayoutFailure<'_>, )
compute_dry_layout or
compute_dry_baseline if this box does not support
calculating a dry layout. Read moreSource§fn get_distance_to_baseline(
self: RenderHandle<Self>,
app: &mut App,
baseline: TextBaseline,
only_real: bool,
) -> Option<f64>
fn get_distance_to_baseline( self: RenderHandle<Self>, app: &mut App, baseline: TextBaseline, only_real: bool, ) -> Option<f64>
Source§fn get_distance_to_actual_baseline(
self: RenderHandle<Self>,
app: &mut App,
baseline: TextBaseline,
) -> Option<f64>
fn get_distance_to_actual_baseline( self: RenderHandle<Self>, app: &mut App, baseline: TextBaseline, ) -> Option<f64>
Source§fn mark_needs_layout(self: RenderHandle<Self>, app: &mut App)
fn mark_needs_layout(self: RenderHandle<Self>, app: &mut App)
Source§fn perform_resize(self: RenderHandle<Self>, app: &mut App)
fn perform_resize(self: RenderHandle<Self>, app: &mut App)
Source§fn apply_paint_transform(
self: RenderHandle<Self>,
app: &App,
child: AnyRenderObject,
transform: &mut Matrix4,
)
fn apply_paint_transform( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, transform: &mut Matrix4, )
Source§fn paint_bounds(self: RenderHandle<Self>, app: &App) -> Rect
fn paint_bounds(self: RenderHandle<Self>, app: &App) -> Rect
Source§fn has_size(self: RenderHandle<Self>, app: &App) -> bool
fn has_size(self: RenderHandle<Self>, app: &App) -> bool
size.Source§fn handle_event(
self: RenderHandle<Self>,
app: &mut App,
event: &PointerEvent,
entry: &BoxHitTestEntry,
)
fn handle_event( self: RenderHandle<Self>, app: &mut App, event: &PointerEvent, entry: &BoxHitTestEntry, )
Source§fn hit_test(
self: RenderHandle<Self>,
app: &mut App,
result: &mut BoxHitTestResult<'_>,
position: Offset,
) -> bool
fn hit_test( self: RenderHandle<Self>, app: &mut App, result: &mut BoxHitTestResult<'_>, position: Offset, ) -> bool
Source§fn hit_test_self(
self: RenderHandle<Self>,
_app: &App,
_position: Offset,
) -> bool
fn hit_test_self( self: RenderHandle<Self>, _app: &App, _position: Offset, ) -> bool
Source§fn set_size(self: RenderHandle<Self>, app: &mut App, size: Size)
fn set_size(self: RenderHandle<Self>, app: &mut App, size: Size)
RenderObject::perform_layout or
RenderObject::perform_resize.Source§fn layout(
self: RenderHandle<Self>,
app: &mut App,
constraints: BoxConstraints,
parent_uses_size: bool,
)
fn layout( self: RenderHandle<Self>, app: &mut App, constraints: BoxConstraints, parent_uses_size: bool, )
AnyRenderBox::layout.Source§fn as_box(self: RenderHandle<Self>) -> AnyRenderBox
fn as_box(self: RenderHandle<Self>) -> AnyRenderBox
RenderBox handle. Free: the vtable is a const, and the id is copied.Source§fn as_object(self: RenderHandle<Self>) -> AnyRenderObject
fn as_object(self: RenderHandle<Self>) -> AnyRenderObject
RenderObject handle, through as_box.Source§fn adopt_child(self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject)
fn adopt_child(self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject)
Source§fn drop_child(self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject)
fn drop_child(self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject)
Source§fn mark_needs_paint(self: RenderHandle<Self>, app: &mut App)
fn mark_needs_paint(self: RenderHandle<Self>, app: &mut App)
Source§fn mark_needs_composited_layer_update(self: RenderHandle<Self>, app: &mut App)
fn mark_needs_composited_layer_update(self: RenderHandle<Self>, app: &mut App)
Source§fn mark_needs_compositing_bits_update(self: RenderHandle<Self>, app: &mut App)
fn mark_needs_compositing_bits_update(self: RenderHandle<Self>, app: &mut App)
Source§fn schedule_initial_layout(self: RenderHandle<Self>, app: &mut App)
fn schedule_initial_layout(self: RenderHandle<Self>, app: &mut App)
Source§fn parent(self: RenderHandle<Self>, app: &App) -> Option<AnyRenderObject>
fn parent(self: RenderHandle<Self>, app: &App) -> Option<AnyRenderObject>
Source§fn owner(self: RenderHandle<Self>, app: &App) -> Option<Handle<PipelineOwner>>
fn owner(self: RenderHandle<Self>, app: &App) -> Option<Handle<PipelineOwner>>
Source§fn debug_needs_layout(self: RenderHandle<Self>, app: &App) -> bool
fn debug_needs_layout(self: RenderHandle<Self>, app: &App) -> bool
Source§impl RenderObject for RenderTable
impl RenderObject for RenderTable
Source§fn render_object_data(self: RenderHandle<Self>, app: &App) -> &RenderObjectData
fn render_object_data(self: RenderHandle<Self>, app: &App) -> &RenderObjectData
Source§fn render_object_data_mut(
self: RenderHandle<Self>,
app: &mut App,
) -> &mut RenderObjectData
fn render_object_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderObjectData
render_object_data.Source§fn did_detach(self: RenderHandle<Self>, app: &mut App)
fn did_detach(self: RenderHandle<Self>, app: &mut App)
detach override after super.detach(). The default detaches
the children reported by visit_children.Source§fn visit_children(
self: RenderHandle<Self>,
app: &App,
visitor: &mut dyn FnMut(AnyRenderObject),
)
fn visit_children( self: RenderHandle<Self>, app: &App, visitor: &mut dyn FnMut(AnyRenderObject), )
visitor for each immediate child.Source§fn perform_layout(self: RenderHandle<Self>, app: &mut App)
fn perform_layout(self: RenderHandle<Self>, app: &mut App)
Source§fn paint(
self: RenderHandle<Self>,
app: &mut App,
context: &mut PaintingContext,
offset: Offset,
)
fn paint( self: RenderHandle<Self>, app: &mut App, context: &mut PaintingContext, offset: Offset, )
Source§fn as_render_object(self: RenderHandle<Self>, app: &App) -> AnyRenderObject
fn as_render_object(self: RenderHandle<Self>, app: &App) -> AnyRenderObject
RenderObject: this object’s
type-erased handle, through the vtable the protocol recorded when it created it.Source§fn perform_resize(self: RenderHandle<Self>, _app: &mut App)
fn perform_resize(self: RenderHandle<Self>, _app: &mut App)
Source§fn setup_parent_data(
self: RenderHandle<Self>,
app: &mut App,
child: AnyRenderObject,
)
fn setup_parent_data( self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject, )
child if it has none. Read moreSource§fn did_attach(
self: RenderHandle<Self>,
app: &mut App,
owner: Handle<PipelineOwner>,
)
fn did_attach( self: RenderHandle<Self>, app: &mut App, owner: Handle<PipelineOwner>, )
attach override after super.attach(owner); the base body has
already run. The default attaches the children reported by
visit_children.Source§fn redepth_children(self: RenderHandle<Self>, app: &mut App)
fn redepth_children(self: RenderHandle<Self>, app: &mut App)
visit_children.Source§fn sized_by_parent(self: RenderHandle<Self>, _app: &App) -> bool
fn sized_by_parent(self: RenderHandle<Self>, _app: &App) -> bool
Source§fn apply_paint_transform(
self: RenderHandle<Self>,
app: &App,
child: AnyRenderObject,
transform: &mut Matrix4,
)
fn apply_paint_transform( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, transform: &mut Matrix4, )
Source§fn is_repaint_boundary(self: RenderHandle<Self>, _app: &App) -> bool
fn is_repaint_boundary(self: RenderHandle<Self>, _app: &App) -> bool
Source§fn always_needs_compositing(self: RenderHandle<Self>, _app: &App) -> bool
fn always_needs_compositing(self: RenderHandle<Self>, _app: &App) -> bool
Source§fn mouse_tracker_annotation(
self: RenderHandle<Self>,
_app: &App,
) -> Option<MouseTrackerAnnotation>
fn mouse_tracker_annotation( self: RenderHandle<Self>, _app: &App, ) -> Option<MouseTrackerAnnotation>
this is MouseTrackerAnnotation: the annotation this render object implements,
read live each time the mouse tracker consults it. None for a render object that is
not an annotation, which is the default.Source§fn update_composited_layer(
self: RenderHandle<Self>,
app: &mut App,
old_layer: Option<AnyOffsetLayer>,
) -> AnyOffsetLayer
fn update_composited_layer( self: RenderHandle<Self>, app: &mut App, old_layer: Option<AnyOffsetLayer>, ) -> AnyOffsetLayer
Source§fn show_on_screen(
self: RenderHandle<Self>,
app: &mut App,
descendant: Option<AnyRenderObject>,
rect: Option<Rect>,
duration: Duration,
curve: Rc<dyn Curve>,
)
fn show_on_screen( self: RenderHandle<Self>, app: &mut App, descendant: Option<AnyRenderObject>, rect: Option<Rect>, duration: Duration, curve: Rc<dyn Curve>, )
RenderObject visible on screen. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RenderTable
impl !Send for RenderTable
impl !Sync for RenderTable
impl !UnwindSafe for RenderTable
impl Freeze for RenderTable
impl Unpin for RenderTable
impl UnsafeUnpin for RenderTable
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> RenderObjectBase for Twhere
T: RenderObject,
impl<T> RenderObjectBase for Twhere
T: RenderObject,
Source§fn dispose(self: RenderHandle<Self>, app: &mut App)
fn dispose(self: RenderHandle<Self>, app: &mut App)
RenderObject.dispose body: releases the layer handle. An override calls it
last, where Dart writes super.dispose().Source§fn mark_needs_layout(self: RenderHandle<Self>, app: &mut App)
fn mark_needs_layout(self: RenderHandle<Self>, app: &mut App)
RenderObject.markNeedsLayout body; an override calls it where Dart writes
super.markNeedsLayout().Source§fn show_on_screen(
self: RenderHandle<Self>,
app: &mut App,
descendant: Option<AnyRenderObject>,
rect: Option<Rect>,
duration: Duration,
curve: Rc<dyn Curve>,
)
fn show_on_screen( self: RenderHandle<Self>, app: &mut App, descendant: Option<AnyRenderObject>, rect: Option<Rect>, duration: Duration, curve: Rc<dyn Curve>, )
RenderObject.showOnScreen.