[−][src]Struct qt_gui::q_surface_format::FormatOption
This enum contains format options for use with QSurfaceFormat.
C++ enum: QSurfaceFormat::FormatOption
.
This enum contains format options for use with QSurfaceFormat.
The FormatOptions type is a typedef for QFlags<FormatOption>. It stores an OR combination of FormatOption values.
Methods
impl FormatOption
[src]
impl FormatOption
[src]
pub const StereoBuffers: FormatOption
[src]
Used to request stereo buffers in the surface format. (C++ enum variant: StereoBuffers = 1
)
pub const DebugContext: FormatOption
[src]
Used to request a debug context with extra debugging information. (C++ enum variant: DebugContext = 2
)
pub const DeprecatedFunctions: FormatOption
[src]
Used to request that deprecated functions be included in the OpenGL context profile. If not specified, you should get a forward compatible context without support functionality marked as deprecated. This requires OpenGL version 3.0 or higher. (C++ enum variant: DeprecatedFunctions = 4
)
pub const ResetNotification: FormatOption
[src]
Enables notifications about resets of the OpenGL context. The status is then queryable via the context's isValid() function. Note that not setting this flag does not guarantee that context state loss never occurs. Additionally, some implementations may choose to report context loss regardless of this flag. (C++ enum variant: ResetNotification = 8
)
Trait Implementations
impl<T: Into<QFlags<FormatOption>>> BitOr<T> for FormatOption
[src]
type Output = QFlags<FormatOption>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<FormatOption>
[src]
impl Clone for FormatOption
[src]
fn clone(&self) -> FormatOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FormatOption
[src]
impl Debug for FormatOption
[src]
impl Eq for FormatOption
[src]
impl From<FormatOption> for c_int
[src]
fn from(value: FormatOption) -> Self
[src]
impl From<FormatOption> for QFlags<FormatOption>
[src]
fn from(value: FormatOption) -> Self
[src]
impl From<i32> for FormatOption
[src]
impl PartialEq<FormatOption> for FormatOption
[src]
fn eq(&self, other: &FormatOption) -> bool
[src]
fn ne(&self, other: &FormatOption) -> bool
[src]
impl StructuralEq for FormatOption
[src]
impl StructuralPartialEq for FormatOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for FormatOption
impl Send for FormatOption
impl Sync for FormatOption
impl Unpin for FormatOption
impl UnwindSafe for FormatOption
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>,