pub struct PlainLayoutChangedNotification;Expand description
Dart’s concrete LayoutChangedNotification base class: a layout change with nothing more
to say.
This is what Dart writes as const LayoutChangedNotification().
Trait Implementations§
Source§impl Default for PlainLayoutChangedNotification
impl Default for PlainLayoutChangedNotification
Source§fn default() -> PlainLayoutChangedNotification
fn default() -> PlainLayoutChangedNotification
Returns the “default value” for a type. Read more
impl LayoutChangedNotification for PlainLayoutChangedNotification
Source§impl Notification for PlainLayoutChangedNotification
impl Notification for PlainLayoutChangedNotification
Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
The notification as
Any, for Dart’s notification is T check.Source§fn as_layout_changed_notification(
&self,
) -> Option<&(dyn LayoutChangedNotification + 'static)>
fn as_layout_changed_notification( &self, ) -> Option<&(dyn LayoutChangedNotification + 'static)>
The notification as a
LayoutChangedNotification
(widgets/notification_listener.rs), for a
NotificationListener<dyn LayoutChangedNotification>; None — the default — for every
other notification. Read moreSource§fn viewport_depth(&self) -> Option<&Cell<u32>>
fn viewport_depth(&self) -> Option<&Cell<u32>>
The depth counter of a notification that mixes in
ViewportNotificationMixin
(widgets/scroll_notification.rs), for the viewport elements that increment it as
the notification bubbles past them; None — the default — for every other
notification. Read moreSource§fn as_scroll_notification(&self) -> Option<&(dyn ScrollNotification + 'static)>
fn as_scroll_notification(&self) -> Option<&(dyn ScrollNotification + 'static)>
The notification as a
ScrollNotification (widgets/scroll_notification.rs), for a
NotificationListener<dyn ScrollNotification>; None — the default — for every
other notification. Read moreAuto Trait Implementations§
impl Forget for PlainLayoutChangedNotification
impl Freeze for PlainLayoutChangedNotification
impl Move for PlainLayoutChangedNotification
impl RefUnwindSafe for PlainLayoutChangedNotification
impl Send for PlainLayoutChangedNotification
impl Sync for PlainLayoutChangedNotification
impl Unpin for PlainLayoutChangedNotification
impl UnsafeUnpin for PlainLayoutChangedNotification
impl UnwindSafe for PlainLayoutChangedNotification
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.