[−][src]Struct qt_gui::q_static_text::PerformanceHint
This enum the different performance hints that can be set on the QStaticText. These hints can be used to indicate that the QStaticText should use additional caches, if possible, to improve performance at the expense of memory. In particular, setting the performance hint AggressiveCaching on the QStaticText will improve performance when using the OpenGL graphics system or when drawing to a QOpenGLWidget.
C++ enum: QStaticText::PerformanceHint
.
This enum the different performance hints that can be set on the QStaticText. These hints can be used to indicate that the QStaticText should use additional caches, if possible, to improve performance at the expense of memory. In particular, setting the performance hint AggressiveCaching on the QStaticText will improve performance when using the OpenGL graphics system or when drawing to a QOpenGLWidget.
Methods
impl PerformanceHint
[src]
impl PerformanceHint
[src]
pub const ModerateCaching: PerformanceHint
[src]
Do basic caching for high performance at a low memory cost. (C++ enum variant: ModerateCaching = 0
)
pub const AggressiveCaching: PerformanceHint
[src]
Use additional caching when available. This may improve performance at a higher memory cost. (C++ enum variant: AggressiveCaching = 1
)
Trait Implementations
impl Clone for PerformanceHint
[src]
fn clone(&self) -> PerformanceHint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PerformanceHint
[src]
impl Debug for PerformanceHint
[src]
impl Eq for PerformanceHint
[src]
impl From<PerformanceHint> for c_int
[src]
fn from(value: PerformanceHint) -> Self
[src]
impl From<i32> for PerformanceHint
[src]
impl PartialEq<PerformanceHint> for PerformanceHint
[src]
fn eq(&self, other: &PerformanceHint) -> bool
[src]
fn ne(&self, other: &PerformanceHint) -> bool
[src]
impl StructuralEq for PerformanceHint
[src]
impl StructuralPartialEq for PerformanceHint
[src]
Auto Trait Implementations
impl RefUnwindSafe for PerformanceHint
impl Send for PerformanceHint
impl Sync for PerformanceHint
impl Unpin for PerformanceHint
impl UnwindSafe for PerformanceHint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,