pub struct PipelineOwnerScope {
pub pipeline_owner: Ref<PipelineOwner>,
pub child: WidgetRef,
}Expand description
Dart’s _PipelineOwnerScope: the pipeline owner a subtree’s views attach to.
Fields§
§pipeline_owner: Ref<PipelineOwner>§child: WidgetRefImplementations§
Source§impl PipelineOwnerScope
impl PipelineOwnerScope
Sourcepub fn new<K>(
pipeline_owner: Ref<PipelineOwner>,
child: impl IntoWidget<K>,
) -> PipelineOwnerScope
pub fn new<K>( pipeline_owner: Ref<PipelineOwner>, child: impl IntoWidget<K>, ) -> PipelineOwnerScope
Creates a PipelineOwnerScope; Dart’s arguments are all required.
Trait Implementations§
Source§impl Debug for PipelineOwnerScope
impl Debug for PipelineOwnerScope
Source§impl InheritedWidget for PipelineOwnerScope
impl InheritedWidget for PipelineOwnerScope
Source§fn update_should_notify(&self, old_widget: &PipelineOwnerScope) -> bool
fn update_should_notify(&self, old_widget: &PipelineOwnerScope) -> bool
Whether the framework should notify widgets that inherit from this widget. Read more
Source§fn debug_fill_properties(
&self,
_app: &App,
properties: &mut DiagnosticPropertiesBuilder,
)
fn debug_fill_properties( &self, _app: &App, properties: &mut DiagnosticPropertiesBuilder, )
Dart’s
debugFillProperties: the properties a dump shows for this widget, in Dart’s
order. Dart’s Widget base only sets the dense tree style, which the framework does.Source§fn as_inherited_theme(&self) -> Option<&dyn InheritedTheme>
fn as_inherited_theme(&self) -> Option<&dyn InheritedTheme>
Dart’s
this is InheritedTheme: an inherited widget that is an InheritedTheme
answers with itself, which is what InheritedTheme::capture collects.Auto Trait Implementations§
impl !RefUnwindSafe for PipelineOwnerScope
impl !Send for PipelineOwnerScope
impl !Sync for PipelineOwnerScope
impl !UnwindSafe for PipelineOwnerScope
impl Forget for PipelineOwnerScope
impl Freeze for PipelineOwnerScopewhere
NonZero<u32>: Freeze,
PhantomData<fn() -> PipelineOwner>: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
impl Move for PipelineOwnerScope
impl Unpin for PipelineOwnerScope
impl UnsafeUnpin for PipelineOwnerScopewhere
NonZeroU32Inner: UnsafeUnpin,
PhantomData<fn() -> PipelineOwner>: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<W> IntoWidget<InheritedKind> for Wwhere
W: InheritedWidget,
impl<W> IntoWidget<InheritedKind> for Wwhere
W: InheritedWidget,
Source§fn into_widget(self) -> Rc<dyn Widget>
fn into_widget(self) -> Rc<dyn Widget>
The widget as a tree node, made where this is called: its
creation_location.