pub struct Key { /* private fields */ }Expand description
C++ class: QPixmapCache::Key.
Implementations§
Source§impl Key
impl Key
Sourcepub unsafe fn copy_from(&self, other: impl CastInto<Ref<Key>>) -> Ref<Key>
pub unsafe fn copy_from(&self, other: impl CastInto<Ref<Key>>) -> Ref<Key>
Calls C++ function: QPixmapCache::Key& QPixmapCache::Key::operator=(const QPixmapCache::Key& other).
Sourcepub unsafe fn is_valid(&self) -> bool
pub unsafe fn is_valid(&self) -> bool
Calls C++ function: bool QPixmapCache::Key::isValid() const.
Sourcepub unsafe fn new() -> CppBox<Key>
pub unsafe fn new() -> CppBox<Key>
Calls C++ function: [constructor] void QPixmapCache::Key::Key().
Trait Implementations§
Source§impl CppDeletable for Key
impl CppDeletable for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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