pub enum StateApply {
Unsupported,
Unchanged,
Updated,
}Expand description
state → RO 就地更新的结果(P0-1 API,见架构审查 §11)
Variants§
Unsupported
当前 RO 不支持由 state 就地更新(默认;框架回退 create_render_object)
Unchanged
已读取 state,但 layout/paint 的输入没有变化(无需标脏)
Updated
已就地更新,现有 layout/paint 需要重跑
Trait Implementations§
Source§impl Clone for StateApply
impl Clone for StateApply
impl Copy for StateApply
Source§impl Debug for StateApply
impl Debug for StateApply
impl Eq for StateApply
Source§impl PartialEq for StateApply
impl PartialEq for StateApply
impl StructuralPartialEq for StateApply
Auto Trait Implementations§
impl Forget for StateApply
impl Freeze for StateApply
impl Move for StateApply
impl RefUnwindSafe for StateApply
impl Send for StateApply
impl Sync for StateApply
impl Unpin for StateApply
impl UnsafeUnpin for StateApply
impl UnwindSafe for StateApply
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