Struct qt_gui::q_image_io_plugin::Capability
source · pub struct Capability(/* private fields */);
Expand description
This enum describes the capabilities of a QImageIOPlugin.
C++ enum: QImageIOPlugin::Capability
.
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.
Implementations§
source§impl Capability
impl Capability
sourcepub const CanRead: Capability = _
pub const CanRead: Capability = _
The plugin can read images. (C++ enum variant: CanRead = 1
)
sourcepub const CanWrite: Capability = _
pub const CanWrite: Capability = _
The plugin can write images. (C++ enum variant: CanWrite = 2
)
sourcepub const CanReadIncremental: Capability = _
pub const CanReadIncremental: Capability = _
The plugin can read images incrementally. (C++ enum variant: CanReadIncremental = 4
)
Trait Implementations§
source§impl<T: Into<QFlags<Capability>>> BitOr<T> for Capability
impl<T: Into<QFlags<Capability>>> BitOr<T> for Capability
§type Output = QFlags<Capability>
type Output = QFlags<Capability>
The resulting type after applying the
|
operator.source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Capability
impl Debug for Capability
source§impl From<Capability> for QFlags<Capability>
impl From<Capability> for QFlags<Capability>
source§fn from(value: Capability) -> Self
fn from(value: Capability) -> Self
Converts to this type from the input type.
source§impl From<Capability> for c_int
impl From<Capability> for c_int
source§fn from(value: Capability) -> Self
fn from(value: Capability) -> Self
Converts to this type from the input type.
source§impl From<i32> for Capability
impl From<i32> for Capability
source§impl PartialEq for Capability
impl PartialEq for Capability
source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Capability
impl Eq for Capability
impl StructuralEq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more