[][src]Struct qt_gui::q_accessible::Text

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

This enum specifies string information that an accessible object returns.

C++ enum: QAccessible::Text.

C++ documentation:

This enum specifies string information that an accessible object returns.

Methods

impl Text[src]

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

impl Text[src]

pub const Name: Text[src]

The name of the object. This can be used both as an identifier or a short description by accessible clients. (C++ enum variant: Name = 0)

pub const Description: Text[src]

A short text describing the object. (C++ enum variant: Description = 1)

pub const Value: Text[src]

The value of the object. (C++ enum variant: Value = 2)

pub const Help: Text[src]

A longer text giving information about how to use the object. (C++ enum variant: Help = 3)

pub const Accelerator: Text[src]

The keyboard shortcut that executes the object's default action. (C++ enum variant: Accelerator = 4)

pub const DebugDescription: Text[src]

C++ enum variant: DebugDescription = 5

pub const UserText: Text[src]

The first value to be used for user defined text. (C++ enum variant: UserText = 65535)

Trait Implementations

impl Clone for Text[src]

impl Copy for Text[src]

impl Debug for Text[src]

impl Eq for Text[src]

impl From<Text> for c_int[src]

impl From<i32> for Text[src]

impl PartialEq<Text> for Text[src]

impl StructuralEq for Text[src]

impl StructuralPartialEq for Text[src]

Auto Trait Implementations

impl RefUnwindSafe for Text

impl Send for Text

impl Sync for Text

impl Unpin for Text

impl UnwindSafe for Text

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.