pub enum UpdateScope {
Nothing,
PaintOnly(Vec<(String, String, String)>),
Relayout,
}Expand description
必要な更新処理の範囲。
Variants§
Nothing
変更なし。
PaintOnly(Vec<(String, String, String)>)
軽量再ペイントのみ。各要素の (element_id, prop, val) のリストを返す。
Relayout
全再レイアウトが必要。
Trait Implementations§
Source§impl Clone for UpdateScope
impl Clone for UpdateScope
Source§fn clone(&self) -> UpdateScope
fn clone(&self) -> UpdateScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateScope
impl Debug for UpdateScope
impl Eq for UpdateScope
Source§impl PartialEq for UpdateScope
impl PartialEq for UpdateScope
impl StructuralPartialEq for UpdateScope
Auto Trait Implementations§
impl Freeze for UpdateScope
impl RefUnwindSafe for UpdateScope
impl Send for UpdateScope
impl Sync for UpdateScope
impl Unpin for UpdateScope
impl UnsafeUnpin for UpdateScope
impl UnwindSafe for UpdateScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.