[][src]Struct qt_gui::q_opengl_debug_message::Severity

#[repr(transparent)]
pub struct Severity(_);

The Severity enum defines the severity of the debug message.

C++ enum: QOpenGLDebugMessage::Severity.

C++ documentation:

The Severity enum defines the severity of the debug message.

The Severities type is a typedef for QFlags<Severity>. It stores an OR combination of Severity values.

Methods

impl Severity[src]

pub fn to_int(&self) -> c_int[src]

impl Severity[src]

pub const InvalidSeverity: Severity[src]

The severity of the message is invalid; this is the severity of a default-constructed QOpenGLDebugMessage object. (C++ enum variant: InvalidSeverity = 0)

pub const HighSeverity: Severity[src]

The message has a high severity. (C++ enum variant: HighSeverity = 1)

pub const MediumSeverity: Severity[src]

The message has a medium severity. (C++ enum variant: MediumSeverity = 2)

pub const LowSeverity: Severity[src]

The message has a low severity. (C++ enum variant: LowSeverity = 4)

pub const NotificationSeverity: Severity[src]

The message is a notification. (C++ enum variant: NotificationSeverity = 8)

pub const LastSeverity: Severity[src]

C++ enum variant: LastSeverity = 8

pub const AnySeverity: Severity[src]

This value corresponds to a mask of all possible message severities. (C++ enum variant: AnySeverity = -1)

Trait Implementations

impl<T: Into<QFlags<Severity>>> BitOr<T> for Severity[src]

type Output = QFlags<Severity>

The resulting type after applying the | operator.

impl Clone for Severity[src]

impl Copy for Severity[src]

impl Debug for Severity[src]

impl Eq for Severity[src]

impl From<Severity> for c_int[src]

impl From<Severity> for QFlags<Severity>[src]

impl From<i32> for Severity[src]

impl PartialEq<Severity> for Severity[src]

impl StructuralEq for Severity[src]

impl StructuralPartialEq for Severity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.