pub struct QColorTransform { /* private fields */ }Expand description
C++ class: QColorTransform.
Implementations§
Source§impl QColorTransform
impl QColorTransform
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QColorTransform>>,
) -> Ref<QColorTransform>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QColorTransform>>, ) -> Ref<QColorTransform>
Calls C++ function: QColorTransform& QColorTransform::operator=(const QColorTransform& other).
Sourcepub unsafe fn map_uint(&self, argb: c_uint) -> c_uint
pub unsafe fn map_uint(&self, argb: c_uint) -> c_uint
Calls C++ function: unsigned int QColorTransform::map(unsigned int argb) const.
Sourcepub unsafe fn map_q_rgba64(
&self,
rgba64: impl CastInto<Ref<QRgba64>>,
) -> CppBox<QRgba64>
pub unsafe fn map_q_rgba64( &self, rgba64: impl CastInto<Ref<QRgba64>>, ) -> CppBox<QRgba64>
Calls C++ function: QRgba64 QColorTransform::map(QRgba64 rgba64) const.
Sourcepub unsafe fn map_q_color(
&self,
color: impl CastInto<Ref<QColor>>,
) -> CppBox<QColor>
pub unsafe fn map_q_color( &self, color: impl CastInto<Ref<QColor>>, ) -> CppBox<QColor>
Calls C++ function: QColor QColorTransform::map(const QColor& color) const.
Sourcepub unsafe fn new() -> CppBox<QColorTransform>
pub unsafe fn new() -> CppBox<QColorTransform>
Calls C++ function: [constructor] void QColorTransform::QColorTransform().
Sourcepub unsafe fn new_copy(
color_transform: impl CastInto<Ref<QColorTransform>>,
) -> CppBox<QColorTransform>
pub unsafe fn new_copy( color_transform: impl CastInto<Ref<QColorTransform>>, ) -> CppBox<QColorTransform>
Calls C++ function: [constructor] void QColorTransform::QColorTransform(const QColorTransform& colorTransform).
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QColorTransform>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QColorTransform>>)
Calls C++ function: void QColorTransform::swap(QColorTransform& other).
Trait Implementations§
Source§impl CppDeletable for QColorTransform
impl CppDeletable for QColorTransform
Auto Trait Implementations§
impl Freeze for QColorTransform
impl RefUnwindSafe for QColorTransform
impl Send for QColorTransform
impl Sync for QColorTransform
impl Unpin for QColorTransform
impl UnsafeUnpin for QColorTransform
impl UnwindSafe for QColorTransform
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