[]Struct qmetaobject::qttypes::QImage

#[repr(C)]
pub struct QImage { /* fields omitted */ }

Wrapper around QImage

Methods

impl QImage[src]

pub fn load_from_file(filename: QString) -> Self[src]

pub fn new(size: QSize, format: ImageFormat) -> Self[src]

pub fn size(&self) -> QSize[src]

pub fn format(&self) -> ImageFormat[src]

pub fn fill(&mut self, color: QColor)[src]

pub fn set_pixel_color(&mut self, x: u32, y: u32, color: QColor)[src]

pub fn get_pixel_color(&mut self, x: u32, y: u32) -> QColor[src]

Trait Implementations

impl QMetaType for QImage[src]

impl Drop for QImage

impl Clone for QImage

impl Default for QImage

Auto Trait Implementations

impl Send for QImage

impl Sync for QImage

impl Unpin for QImage

impl UnwindSafe for QImage

impl RefUnwindSafe for QImage

Blanket Implementations

impl<T> QMetaType for T where
    T: QGadget + Clone + Default + 'static, 
[src]

impl<T> PropertyType for T where
    T: QMetaType
[src]

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

impl<T> From<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.

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

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

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