pub enum RepaintScope {
Nothing,
PaintOnly,
Relayout,
}Expand description
このフレームの変更を反映するのに必要な処理の範囲。
Variants§
Nothing
変化なし。何もしなくてよい。
PaintOnly
再ペイントのみ。カスケードもレイアウトも不要。
Relayout
再レイアウトが必要(ボックスの寸法・位置・フロー構造が変わり得る)。
Trait Implementations§
Source§impl Clone for RepaintScope
impl Clone for RepaintScope
Source§fn clone(&self) -> RepaintScope
fn clone(&self) -> RepaintScope
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 moreimpl Copy for RepaintScope
Source§impl Debug for RepaintScope
impl Debug for RepaintScope
impl Eq for RepaintScope
Source§impl PartialEq for RepaintScope
impl PartialEq for RepaintScope
Source§fn eq(&self, other: &RepaintScope) -> bool
fn eq(&self, other: &RepaintScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepaintScope
Auto Trait Implementations§
impl Freeze for RepaintScope
impl RefUnwindSafe for RepaintScope
impl Send for RepaintScope
impl Sync for RepaintScope
impl Unpin for RepaintScope
impl UnsafeUnpin for RepaintScope
impl UnwindSafe for RepaintScope
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.