pub enum RenderingMode {
Default,
Light,
}Expand description
How much the theme may spend on rendering.
Variants§
Default
The full theme: animated state changes and scrolling, dimmed modal backdrops, clipped rounded corners.
Light
For slow display buses and processors. State changes and the scrolls that LVGL animates take one frame, the momentum of a scroll takes half as many, modal backdrops are not blended, lists and tables do not clip their children to their rounded corners, and ending a scroll does not redraw the scrolled object.
Trait Implementations§
Source§impl Clone for RenderingMode
impl Clone for RenderingMode
Source§fn clone(&self) -> RenderingMode
fn clone(&self) -> RenderingMode
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 RenderingMode
impl Debug for RenderingMode
Source§impl Default for RenderingMode
impl Default for RenderingMode
Source§fn default() -> RenderingMode
fn default() -> RenderingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderingMode
impl PartialEq for RenderingMode
Source§fn eq(&self, other: &RenderingMode) -> bool
fn eq(&self, other: &RenderingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderingMode
impl Eq for RenderingMode
impl StructuralPartialEq for RenderingMode
Auto Trait Implementations§
impl Freeze for RenderingMode
impl RefUnwindSafe for RenderingMode
impl Send for RenderingMode
impl Sync for RenderingMode
impl Unpin for RenderingMode
impl UnsafeUnpin for RenderingMode
impl UnwindSafe for RenderingMode
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