pub enum DirtyRegionSettings {
Default,
ReportOnly,
ReportAndRender,
}展开描述
定义系统应如何处理脏区域,即屏幕中已更改的区域。
变体§
trait 实现§
Source§impl Clone for DirtyRegionSettings
impl Clone for DirtyRegionSettings
Source§fn clone(&self) -> DirtyRegionSettings
fn clone(&self) -> DirtyRegionSettings
返回该值的副本。 了解更多
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行复制赋值。 了解更多Source§impl Debug for DirtyRegionSettings
impl Debug for DirtyRegionSettings
Source§impl PartialEq for DirtyRegionSettings
impl PartialEq for DirtyRegionSettings
impl Copy for DirtyRegionSettings
impl Eq for DirtyRegionSettings
impl StructuralPartialEq for DirtyRegionSettings
自动 trait 实现§
impl Freeze for DirtyRegionSettings
impl RefUnwindSafe for DirtyRegionSettings
impl Send for DirtyRegionSettings
impl Sync for DirtyRegionSettings
impl Unpin for DirtyRegionSettings
impl UnsafeUnpin for DirtyRegionSettings
impl UnwindSafe for DirtyRegionSettings
Blanket 实现§
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
从拥有的值可变地借用。 了解更多
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
当
into_left 为 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多Source§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
当
into_left(&self) 返回 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多