Skip to main content

RenderSliverFloatingPinnedPersistentHeaderForWidgets

Struct RenderSliverFloatingPinnedPersistentHeaderForWidgets 

Source
pub struct RenderSliverFloatingPinnedPersistentHeaderForWidgets { /* private fields */ }
Expand description

Flutter’s _RenderSliverFloatingPinnedPersistentHeaderForWidgets.

Implementations§

Source§

impl RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source

pub fn new( app: &mut App, vsync: Option<TickerProviderRef>, snap_configuration: Option<FloatingHeaderSnapConfiguration>, stretch_configuration: Option<OverScrollHeaderStretchConfiguration>, show_on_screen_configuration: Option<PersistentHeaderShowOnScreenConfiguration>, ) -> RenderHandle<RenderSliverFloatingPinnedPersistentHeaderForWidgets>

Creates a floating pinned persistent header whose extents come from a delegate.

Trait Implementations§

Source§

impl RenderObject for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn render_object_data(self: RenderHandle<Self>, app: &App) -> &RenderObjectData

Mixin field access.
Source§

fn render_object_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderObjectData

Source§

fn visit_children( self: RenderHandle<Self>, app: &App, visitor: &mut dyn FnMut(AnyRenderObject), )

Calls visitor for each immediate child.
Source§

fn apply_paint_transform( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, transform: &mut Matrix4, )

Applies the transform that would be applied when painting the given child to the given matrix. Read more
Source§

fn perform_layout(self: RenderHandle<Self>, app: &mut App)

Do the work of computing the layout for this render object. Read more
Source§

fn paint( self: RenderHandle<Self>, app: &mut App, context: &mut PaintingContext, offset: Offset, )

Paint this render object into the given context at the given offset. Read more
Source§

fn debug_fill_properties( self: RenderHandle<Self>, app: &App, properties: &mut DiagnosticPropertiesBuilder, )

Dart’s debugFillProperties: the properties this class shows in a dump, after its base classes’. A trait default cannot call super, so the framework adds RenderObject’s and RenderBox’s or RenderSliver’s properties first and an override adds only its own, in Dart’s order.
Source§

fn did_detach(self: RenderHandle<Self>, app: &mut App)

The body of Flutter’s detach override after super.detach(). The default detaches the children reported by visit_children.
Source§

fn show_on_screen( self: RenderHandle<Self>, app: &mut App, descendant: Option<AnyRenderObject>, rect: Option<Rect>, duration: Duration, curve: Rc<dyn Curve>, )

Attempt to make (a portion of) this or a descendant RenderObject visible on screen. Read more
Source§

fn interface(self: RenderHandle<Self>, id: TypeId) -> Option<Box<dyn Any>>

Dart’s object is RenderAbstractViewport for any interface: the erased handle of the interface id names, if this type implements it. Read more
Source§

fn as_render_object(self: RenderHandle<Self>, app: &App) -> AnyRenderObject

Dart’s implicit upcast of a concrete render object to 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)

Updates the render object’s size using only the constraints. Read more
Source§

fn setup_parent_data( self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject, )

Sets up parent data for child if it has none. Read more
Source§

fn did_attach( self: RenderHandle<Self>, app: &mut App, owner: Handle<PipelineOwner>, )

The body of Flutter’s 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)

Adjusts the depth of each child reported by visit_children.
Source§

fn sized_by_parent(self: RenderHandle<Self>, _app: &App) -> bool

Whether the constraints are the only input to the sizing algorithm.
Source§

fn describe_approximate_paint_clip( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, ) -> Option<Rect>

Dart’s describeApproximatePaintClip: the rectangle, in this object’s coordinates, that it clips child’s painting to, or None where it does not clip it. An estimate, for the inspector’s screenshot bounds: a clip it may apply is enough.
Source§

fn paints_child( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, ) -> bool

Whether the given child would be painted if paint were called. Read more
Source§

fn is_repaint_boundary(self: RenderHandle<Self>, _app: &App) -> bool

Whether this render object repaints separately from its parent. Read more
Source§

fn always_needs_compositing(self: RenderHandle<Self>, _app: &App) -> bool

Whether this render object always needs compositing. Read more
Source§

fn debug_fill_base_properties( self: RenderHandle<Self>, app: &App, properties: &mut DiagnosticPropertiesBuilder, )

Dart’s super.debugFillProperties as a class’s override calls it: RenderObject’s properties, then RenderBox’s or RenderSliver’s, which the framework adds before debug_fill_properties. A class whose Dart override leaves the super call out, as RenderView’s does, overrides this to add nothing.
Source§

fn debug_describe_children( self: RenderHandle<Self>, app: &App, ) -> Vec<Rc<dyn DiagnosticsNode>>

Dart’s debugDescribeChildren: the children a dump shows under this object. Dart’s default shows none and its child mixins name theirs (child; child 1, child 2, …); this default shows the children visit_children visits, named child when there is one and child 1, child 2, … when there are more, so a dump never drops a child of a class that has not described its own.
Source§

fn mouse_tracker_annotation( self: RenderHandle<Self>, _app: &App, ) -> Option<MouseTrackerAnnotation>

Dart’s 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

Update the composited layer owned by this render object. Read more
Source§

fn dispose(self: RenderHandle<Self>, app: &mut App)

Release any resources held by this render object. Read more
Source§

impl RenderObjectWithChildMixin for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

type ChildType = AnyRenderBox

Flutter’s ChildType: the protocol of this render object’s child.
Source§

fn child_data( self: RenderHandle<Self>, app: &App, ) -> &RenderObjectWithChildData<AnyRenderBox>

Mixin field access.
Source§

fn child_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderObjectWithChildData<AnyRenderBox>

Source§

fn child(self: RenderHandle<Self>, app: &App) -> Option<Self::ChildType>

The render object’s unique child.
Source§

fn debug_describe_children( self: RenderHandle<Self>, app: &App, ) -> Vec<Rc<dyn DiagnosticsNode>>

Flutter’s RenderObjectWithChildMixin.debugDescribeChildren: the child, named child. A class with this mixin answers RenderObject::debug_describe_children with it.
Source§

fn set_child( self: RenderHandle<Self>, app: &mut App, value: Option<Self::ChildType>, )

Sets the unique child, adopting or dropping as Flutter’s setter does.
Source§

impl RenderSliver for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn render_sliver_data(self: RenderHandle<Self>, app: &App) -> &RenderSliverData

Mixin field access.
Source§

fn render_sliver_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderSliverData

Source§

fn hit_test_children( self: RenderHandle<Self>, app: &mut App, result: &mut SliverHitTestResult<'_>, main_axis_position: f64, cross_axis_position: f64, ) -> bool

Override this method to check whether any children are located at the given position. Read more
Source§

fn child_main_axis_position( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, ) -> f64

Returns the distance from the leading visible edge of the sliver to the side of the given child closest to that edge. Read more
Source§

fn ensure_semantics(self: RenderHandle<Self>, _app: &App) -> bool

Whether this sliver should be included in the semantics tree. Read more
Source§

fn constraints(self: RenderHandle<Self>, app: &App) -> SliverConstraints

The sliver constraints most recently supplied by the parent.
Source§

fn geometry(self: RenderHandle<Self>, app: &App) -> SliverGeometry

The amount of space this sliver occupies.
Source§

fn set_geometry( self: RenderHandle<Self>, app: &mut App, geometry: SliverGeometry, )

Sets the geometry of this sliver. Call from RenderObject::perform_layout.
Source§

fn paint_bounds(self: RenderHandle<Self>, app: &App) -> Rect

An estimate of the bounds within which this render object will paint: the paint extent along the main axis by the cross axis extent.
Source§

fn center_offset_adjustment(self: RenderHandle<Self>, _app: &App) -> f64

For a center sliver, the distance before the absolute zero scroll offset that this sliver can cover. Read more
Source§

fn hit_test( self: RenderHandle<Self>, app: &mut App, result: &mut SliverHitTestResult<'_>, main_axis_position: f64, cross_axis_position: f64, ) -> bool

Determines the set of render objects located at the given position. Read more
Source§

fn hit_test_self( self: RenderHandle<Self>, _app: &App, _main_axis_position: f64, _cross_axis_position: f64, ) -> bool

Override this method if this render object can be hit even if its children were not hit. Read more
Source§

fn handle_event( self: RenderHandle<Self>, _app: &mut App, _event: &PointerEvent, _entry: &SliverHitTestEntry, )

Override to handle pointer events that hit this render object.
Source§

fn calculate_paint_offset( self: RenderHandle<Self>, _app: &App, constraints: SliverConstraints, from: f64, to: f64, ) -> f64

Computes the portion of the region from from to to that is visible, assuming that only the region from the SliverConstraints::scroll_offset that is SliverConstraints::remaining_paint_extent high is visible, and that the relationship between scroll offsets and paint offsets is linear. Read more
Source§

fn calculate_cache_offset( self: RenderHandle<Self>, _app: &App, constraints: SliverConstraints, from: f64, to: f64, ) -> f64

Computes the portion of the region from from to to that is within the cache extent of the viewport, assuming that only the region from the SliverConstraints::cache_origin that is SliverConstraints::remaining_cache_extent high is visible, and that the relationship between scroll offsets and paint offsets is linear. Read more
Source§

fn child_cross_axis_position( self: RenderHandle<Self>, _app: &App, _child: AnyRenderObject, ) -> f64

Returns the distance along the cross axis from the zero of the cross axis in this sliver’s paint coordinate space to the nearest side of the given child. Read more
Source§

fn child_scroll_offset( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, ) -> Option<f64>

Returns the scroll offset for the leading edge of the given child. Read more
Source§

fn get_absolute_size_relative_to_origin( self: RenderHandle<Self>, app: &App, ) -> Size

This returns a Size with dimensions relative to the leading edge of the sliver, specifically the same offset that is given to the RenderObject::paint method. This means that the dimensions may be negative. Read more
Source§

fn get_absolute_size(self: RenderHandle<Self>, app: &App) -> Size

This returns the absolute Size of the sliver. Read more
Source§

fn get_max_paint_rect(self: RenderHandle<Self>, app: &App) -> Rect

Returns the Rect that covers the total paint extent of the sliver. Read more
Source§

fn layout( self: RenderHandle<Self>, app: &mut App, constraints: SliverConstraints, parent_uses_size: bool, )

Source§

fn as_sliver(self: RenderHandle<Self>) -> AnyRenderSliver

The type-erased RenderSliver handle. Free: the vtable is a const, and the id is copied.
Source§

fn as_object(self: RenderHandle<Self>) -> AnyRenderObject

The type-erased RenderObject handle, through as_sliver.
Source§

fn adopt_child(self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject)

Source§

fn drop_child(self: RenderHandle<Self>, app: &mut App, child: AnyRenderObject)

Source§

fn mark_needs_layout(self: RenderHandle<Self>, app: &mut App)

Source§

fn mark_needs_paint(self: RenderHandle<Self>, app: &mut App)

Source§

fn mark_needs_composited_layer_update(self: RenderHandle<Self>, app: &mut App)

Source§

fn schedule_initial_layout(self: RenderHandle<Self>, app: &mut App)

Source§

fn parent(self: RenderHandle<Self>, app: &App) -> Option<AnyRenderObject>

Source§

fn owner(self: RenderHandle<Self>, app: &App) -> Option<Handle<PipelineOwner>>

Source§

fn attached(self: RenderHandle<Self>, app: &App) -> bool

Source§

fn debug_needs_layout(self: RenderHandle<Self>, app: &App) -> bool

Source§

impl RenderSliverFloatingPersistentHeader for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn floating_data( self: RenderHandle<Self>, app: &App, ) -> &RenderSliverFloatingPersistentHeaderData

Mixin field access.
Source§

fn floating_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderSliverFloatingPersistentHeaderData

Source§

fn update_geometry(self: RenderHandle<Self>, app: &mut App) -> f64

Updates the geometry, and returns the new value for RenderSliver::child_main_axis_position.
Source§

fn debug_fill_properties( self: RenderHandle<Self>, app: &App, properties: &mut DiagnosticPropertiesBuilder, )

Dart’s debugFillProperties: the persistent header’s lines, then the effective scroll offset.
Source§

fn did_detach(self: RenderHandle<Self>, app: &mut App)

The body of Flutter’s detach override: disposes the snap animation controller, which is lazily recreated if we are reattached.
Source§

fn vsync(self: RenderHandle<Self>, app: &App) -> Option<TickerProviderRef>

A TickerProvider to use when animating the scroll position.
Source§

fn set_vsync( self: RenderHandle<Self>, app: &mut App, value: Option<TickerProviderRef>, )

Sets vsync.
Source§

fn snap_configuration( self: RenderHandle<Self>, app: &App, ) -> Option<FloatingHeaderSnapConfiguration>

Defines the parameters used to snap (animate) the floating header in and out of view.
Source§

fn set_snap_configuration( self: RenderHandle<Self>, app: &mut App, value: Option<FloatingHeaderSnapConfiguration>, )

Source§

fn show_on_screen_configuration( self: RenderHandle<Self>, app: &App, ) -> Option<PersistentHeaderShowOnScreenConfiguration>

Specifies the persistent header’s behavior when show_on_screen is called.
Source§

fn set_show_on_screen_configuration( self: RenderHandle<Self>, app: &mut App, value: Option<PersistentHeaderShowOnScreenConfiguration>, )

Source§

fn effective_scroll_offset(self: RenderHandle<Self>, app: &App) -> Option<f64>

Flutter’s _effectiveScrollOffset, the offset the header is laid out at.
Source§

fn update_animation( self: RenderHandle<Self>, app: &mut App, duration: Duration, end_value: f64, curve: Rc<dyn Curve>, )

Flutter’s _updateAnimation.
Source§

fn update_scroll_start_direction( self: RenderHandle<Self>, app: &mut App, direction: ScrollDirection, )

Update the last known scroll direction when scrolling began.
Source§

fn maybe_start_snap_animation( self: RenderHandle<Self>, app: &mut App, direction: ScrollDirection, )

If the header isn’t already fully exposed, then scroll it into view.
Source§

fn maybe_stop_snap_animation( self: RenderHandle<Self>, app: &mut App, _direction: ScrollDirection, )

If a header snap animation or a show_on_screen expand animation is underway then stop it.
Source§

fn perform_layout(self: RenderHandle<Self>, app: &mut App)

The body of Flutter’s performLayout override.
Source§

fn show_on_screen( self: RenderHandle<Self>, app: &mut App, descendant: Option<AnyRenderObject>, rect: Option<Rect>, duration: Duration, curve: Rc<dyn Curve>, )

The body of Flutter’s showOnScreen override.
Source§

fn child_main_axis_position( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, ) -> f64

The body of Flutter’s childMainAxisPosition override.
Source§

fn as_floating_persistent_header( self: RenderHandle<Self>, ) -> AnyRenderSliverFloatingPersistentHeader

The type-erased RenderSliverFloatingPersistentHeader handle. Free: the vtable is a const, and the id is copied.
Source§

impl RenderSliverFloatingPinnedPersistentHeader for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn update_geometry(self: RenderHandle<Self>, app: &mut App) -> f64

The body of Flutter’s updateGeometry override.
Source§

impl RenderSliverHelpers for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn hit_test_box_child( self: RenderHandle<Self>, app: &mut App, result: &mut BoxHitTestResult<'_>, child: AnyRenderBox, main_axis_position: f64, cross_axis_position: f64, ) -> bool

Utility function for RenderSliver::hit_test_children for use when the children are crate::RenderBox widgets. Read more
Source§

fn apply_paint_transform_for_box_child( self: RenderHandle<Self>, app: &App, child: AnyRenderBox, transform: &mut Matrix, )

Utility function for RenderObject::apply_paint_transform for use when the children are crate::RenderBox widgets. Read more
Source§

impl RenderSliverPersistentHeader for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn header_data( self: RenderHandle<Self>, app: &App, ) -> &RenderSliverPersistentHeaderData

Mixin field access.
Source§

fn header_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderSliverPersistentHeaderData

Source§

fn max_extent(self: RenderHandle<Self>, app: &App) -> f64

The biggest that this render object can become, in the main axis direction. Read more
Source§

fn min_extent(self: RenderHandle<Self>, app: &App) -> f64

The smallest that this render object can become, in the main axis direction. Read more
Source§

fn update_child( self: RenderHandle<Self>, app: &mut App, shrink_offset: f64, overlaps_content: bool, )

Update the child render object if necessary. Read more
Source§

fn child_extent(self: RenderHandle<Self>, app: &App) -> f64

The dimension of the child in the main axis.
Source§

fn debug_fill_properties( self: RenderHandle<Self>, app: &App, properties: &mut DiagnosticPropertiesBuilder, )

Dart’s debugFillProperties: the maximum extent and the child’s position. Read more
Source§

fn last_shrink_offset(self: RenderHandle<Self>, app: &App) -> f64

The most recent shrink_offset passed to update_child.
Source§

fn last_overlaps_content(self: RenderHandle<Self>, app: &App) -> bool

The most recent overlaps_content passed to update_child.
Source§

fn stretch_configuration( self: RenderHandle<Self>, app: &App, ) -> Option<OverScrollHeaderStretchConfiguration>

Defines the parameters used to execute a callback when a stretching header over-scrolls.
Source§

fn set_stretch_configuration( self: RenderHandle<Self>, app: &mut App, value: Option<OverScrollHeaderStretchConfiguration>, )

Source§

fn mark_needs_layout(self: RenderHandle<Self>, app: &mut App)

The body of Flutter’s markNeedsLayout override, run before the inherited body. Read more
Source§

fn layout_child( self: RenderHandle<Self>, app: &mut App, scroll_offset: f64, max_extent: f64, overlaps_content: bool, )

Lays out the child. Read more
Source§

fn hit_test_children( self: RenderHandle<Self>, app: &mut App, result: &mut SliverHitTestResult<'_>, main_axis_position: f64, cross_axis_position: f64, ) -> bool

The body of Flutter’s hitTestChildren override.
Source§

fn apply_paint_transform( self: RenderHandle<Self>, app: &App, child: AnyRenderObject, transform: &mut Matrix, )

The body of Flutter’s applyPaintTransform override.
Source§

fn paint( self: RenderHandle<Self>, app: &mut App, context: &mut PaintingContext, offset: Offset, )

The body of Flutter’s paint override.
Source§

impl RenderSliverPersistentHeaderForWidgets for RenderSliverFloatingPinnedPersistentHeaderForWidgets

Source§

fn for_widgets_data( self: RenderHandle<Self>, app: &App, ) -> &RenderSliverPersistentHeaderForWidgetsData

Mixin field access.
Source§

fn for_widgets_data_mut( self: RenderHandle<Self>, app: &mut App, ) -> &mut RenderSliverPersistentHeaderForWidgetsData

Source§

fn set_element( self: RenderHandle<Self>, app: &mut App, element: Option<SliverPersistentHeaderElementRef>, )

Sets Dart’s _element; the element does this at mount and clears it at unmount.
Source§

fn delegate( self: RenderHandle<Self>, app: &App, ) -> SliverPersistentHeaderDelegateRef

The delegate of the widget the element holds.
Source§

fn min_extent(self: RenderHandle<Self>, app: &App) -> f64

The body of Flutter’s minExtent override.
Source§

fn max_extent(self: RenderHandle<Self>, app: &App) -> f64

The body of Flutter’s maxExtent override.
Source§

fn update_child( self: RenderHandle<Self>, app: &mut App, shrink_offset: f64, overlaps_content: bool, )

The body of Flutter’s updateChild override.
Source§

fn trigger_rebuild(self: RenderHandle<Self>, app: &mut App)

Flutter’s triggerRebuild.

Auto Trait Implementations§

§

impl !RefUnwindSafe for RenderSliverFloatingPinnedPersistentHeaderForWidgets

§

impl !Send for RenderSliverFloatingPinnedPersistentHeaderForWidgets

§

impl !Sync for RenderSliverFloatingPinnedPersistentHeaderForWidgets

§

impl !UnwindSafe for RenderSliverFloatingPinnedPersistentHeaderForWidgets

§

impl Forget for RenderSliverFloatingPinnedPersistentHeaderForWidgets

§

impl Freeze for RenderSliverFloatingPinnedPersistentHeaderForWidgets
where &'static RenderObjectVTable: Freeze, NonZero<u32>: Freeze, PhantomData<fn() -> PipelineOwner>: Freeze, *const dyn ParentData is !null: Freeze, PhantomData<dyn ParentData>: Freeze, &'static ContainerLayerVTable: Freeze, &'static RenderBoxVTable: Freeze, *const RcInner<dyn Fn(&mut App) -> Task<()>> is !null: Freeze, PhantomData<RcInner<dyn Fn(&mut App) -> Task<()>>>: Freeze, PhantomData<fn() -> AnimationController>: Freeze, *const RcInner<Keep> is !null: Freeze, PhantomData<RcInner<Keep>>: Freeze, &'static AnimationVTable<f64>: Freeze, *const RcInner<dyn TickerProvider> is !null: Freeze, PhantomData<RcInner<dyn TickerProvider>>: Freeze, *const RcInner<dyn Curve> is !null: Freeze, PhantomData<RcInner<dyn Curve>>: Freeze, *const RcInner<dyn ErasedHeaderElement> is !null: Freeze, PhantomData<RcInner<dyn ErasedHeaderElement>>: Freeze,

§

impl Move for RenderSliverFloatingPinnedPersistentHeaderForWidgets

§

impl Unpin for RenderSliverFloatingPinnedPersistentHeaderForWidgets
where &'static RenderObjectVTable: Unpin, NonZero<u32>: Unpin, Box<dyn ParentData>: Unpin, &'static ContainerLayerVTable: Unpin, &'static RenderBoxVTable: Unpin, Rc<dyn Fn(&mut App) -> Task<()>>: Unpin, Rc<Keep>: Unpin, &'static AnimationVTable<f64>: Unpin, Rc<dyn TickerProvider>: Unpin, Rc<dyn Curve>: Unpin, Rc<dyn ErasedHeaderElement>: Unpin,

§

impl UnsafeUnpin for RenderSliverFloatingPinnedPersistentHeaderForWidgets
where &'static RenderObjectVTable: UnsafeUnpin, NonZeroU32Inner: UnsafeUnpin, PhantomData<fn() -> PipelineOwner>: UnsafeUnpin, *const dyn ParentData is !null: UnsafeUnpin, PhantomData<dyn ParentData>: UnsafeUnpin, &'static ContainerLayerVTable: UnsafeUnpin, &'static RenderBoxVTable: UnsafeUnpin, *const RcInner<dyn Fn(&mut App) -> Task<()>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn(&mut App) -> Task<()>>>: UnsafeUnpin, PhantomData<fn() -> AnimationController>: UnsafeUnpin, *const RcInner<Keep> is !null: UnsafeUnpin, PhantomData<RcInner<Keep>>: UnsafeUnpin, &'static AnimationVTable<f64>: UnsafeUnpin, *const RcInner<dyn TickerProvider> is !null: UnsafeUnpin, PhantomData<RcInner<dyn TickerProvider>>: UnsafeUnpin, *const RcInner<dyn Curve> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Curve>>: UnsafeUnpin, *const RcInner<dyn ErasedHeaderElement> is !null: UnsafeUnpin, PhantomData<RcInner<dyn ErasedHeaderElement>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> RenderObjectBase for T
where T: RenderObject,

Source§

fn dispose(self: RenderHandle<Self>, app: &mut App)

Flutter’s 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)

Flutter’s 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>, )

Flutter’s RenderObject.showOnScreen.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>