[−][src]Struct qt_widgets::q_graphics_view::CacheModeFlag
This enum describes the flags that you can set for a QGraphicsView's cache mode.
C++ enum: QGraphicsView::CacheModeFlag
.
This enum describes the flags that you can set for a QGraphicsView's cache mode.
The CacheMode type is a typedef for QFlags<CacheModeFlag>. It stores an OR combination of CacheModeFlag values.
See also cacheMode.
Methods
impl CacheModeFlag
[src]
impl CacheModeFlag
[src]
pub const CacheNone: CacheModeFlag
[src]
All painting is done directly onto the viewport. (C++ enum variant: CacheNone = 0
)
pub const CacheBackground: CacheModeFlag
[src]
The background is cached. This affects both custom backgrounds, and backgrounds based on the backgroundBrush property. When this flag is enabled, QGraphicsView will allocate one pixmap with the full size of the viewport. (C++ enum variant: CacheBackground = 1
)
Trait Implementations
impl<T: Into<QFlags<CacheModeFlag>>> BitOr<T> for CacheModeFlag
[src]
type Output = QFlags<CacheModeFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<CacheModeFlag>
[src]
impl Clone for CacheModeFlag
[src]
fn clone(&self) -> CacheModeFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CacheModeFlag
[src]
impl Debug for CacheModeFlag
[src]
impl Eq for CacheModeFlag
[src]
impl From<CacheModeFlag> for c_int
[src]
fn from(value: CacheModeFlag) -> Self
[src]
impl From<CacheModeFlag> for QFlags<CacheModeFlag>
[src]
fn from(value: CacheModeFlag) -> Self
[src]
impl From<i32> for CacheModeFlag
[src]
impl PartialEq<CacheModeFlag> for CacheModeFlag
[src]
fn eq(&self, other: &CacheModeFlag) -> bool
[src]
fn ne(&self, other: &CacheModeFlag) -> bool
[src]
impl StructuralEq for CacheModeFlag
[src]
impl StructuralPartialEq for CacheModeFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for CacheModeFlag
impl Send for CacheModeFlag
impl Sync for CacheModeFlag
impl Unpin for CacheModeFlag
impl UnwindSafe for CacheModeFlag
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>,