[][src]Struct qt_gui::q_text_document::Stacks

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

C++ enum: QTextDocument::Stacks.

C++ documentation:

Methods

impl Stacks[src]

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

impl Stacks[src]

pub const UndoStack: Stacks[src]

The undo stack. (C++ enum variant: UndoStack = 1)

pub const RedoStack: Stacks[src]

The redo stack. (C++ enum variant: RedoStack = 2)

pub const UndoAndRedoStacks: Stacks[src]

Both the undo and redo stacks. (C++ enum variant: UndoAndRedoStacks = 3)

Trait Implementations

impl Clone for Stacks[src]

impl Copy for Stacks[src]

impl Debug for Stacks[src]

impl Eq for Stacks[src]

impl From<Stacks> for c_int[src]

impl From<i32> for Stacks[src]

impl PartialEq<Stacks> for Stacks[src]

impl StructuralEq for Stacks[src]

impl StructuralPartialEq for Stacks[src]

Auto Trait Implementations

impl RefUnwindSafe for Stacks

impl Send for Stacks

impl Sync for Stacks

impl Unpin for Stacks

impl UnwindSafe for Stacks

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.