[][src]Struct qt_gui::q_image_io_plugin::Capability

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

This enum describes the capabilities of a QImageIOPlugin.

C++ enum: QImageIOPlugin::Capability.

C++ documentation:

This enum describes the capabilities of a QImageIOPlugin.

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

Methods

impl Capability[src]

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

impl Capability[src]

pub const CanRead: Capability[src]

The plugin can read images. (C++ enum variant: CanRead = 1)

pub const CanWrite: Capability[src]

The plugin can write images. (C++ enum variant: CanWrite = 2)

pub const CanReadIncremental: Capability[src]

The plugin can read images incrementally. (C++ enum variant: CanReadIncremental = 4)

Trait Implementations

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

type Output = QFlags<Capability>

The resulting type after applying the | operator.

impl Clone for Capability[src]

impl Copy for Capability[src]

impl Debug for Capability[src]

impl Eq for Capability[src]

impl From<Capability> for c_int[src]

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

impl From<i32> for Capability[src]

impl PartialEq<Capability> for Capability[src]

impl StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[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.