pub enum LayoutMessage<P: Copy> {
Frame(LayoutSnapshot<P>),
Poisoned,
}Expand description
布局线程回给 UI 的消息。Poisoned 表示线程 panic(UI 不受影响,可 restart)。
Variants§
Frame(LayoutSnapshot<P>)
Poisoned
Trait Implementations§
Auto Trait Implementations§
impl<P> Forget for LayoutMessage<P>
impl<P> Freeze for LayoutMessage<P>
impl<P> Move for LayoutMessage<P>
impl<P> RefUnwindSafe for LayoutMessage<P>
impl<P> Send for LayoutMessage<P>
impl<P> Sync for LayoutMessage<P>
impl<P> Unpin for LayoutMessage<P>
impl<P> UnsafeUnpin for LayoutMessage<P>
impl<P> UnwindSafe for LayoutMessage<P>
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