pub struct QCryptographicHash { /* private fields */ }Expand description
C++ class: QCryptographicHash.
Implementations§
Source§impl QCryptographicHash
impl QCryptographicHash
Sourcepub unsafe fn add_data_char_int(&self, data: *const c_char, length: c_int)
pub unsafe fn add_data_char_int(&self, data: *const c_char, length: c_int)
Calls C++ function: void QCryptographicHash::addData(const char* data, int length).
Sourcepub unsafe fn add_data_q_byte_array(&self, data: impl CastInto<Ref<QByteArray>>)
pub unsafe fn add_data_q_byte_array(&self, data: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QCryptographicHash::addData(const QByteArray& data).
Sourcepub unsafe fn add_data_q_io_device(
&self,
device: impl CastInto<Ptr<QIODevice>>,
) -> bool
pub unsafe fn add_data_q_io_device( &self, device: impl CastInto<Ptr<QIODevice>>, ) -> bool
Calls C++ function: bool QCryptographicHash::addData(QIODevice* device).
Sourcepub unsafe fn hash(
data: impl CastInto<Ref<QByteArray>>,
method: Algorithm,
) -> CppBox<QByteArray>
pub unsafe fn hash( data: impl CastInto<Ref<QByteArray>>, method: Algorithm, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QCryptographicHash::hash(const QByteArray& data, QCryptographicHash::Algorithm method).
Sourcepub unsafe fn hash_length(method: Algorithm) -> c_int
pub unsafe fn hash_length(method: Algorithm) -> c_int
Calls C++ function: static int QCryptographicHash::hashLength(QCryptographicHash::Algorithm method).
Sourcepub unsafe fn new(method: Algorithm) -> CppBox<QCryptographicHash>
pub unsafe fn new(method: Algorithm) -> CppBox<QCryptographicHash>
Calls C++ function: [constructor] void QCryptographicHash::QCryptographicHash(QCryptographicHash::Algorithm method).
Sourcepub unsafe fn result(&self) -> CppBox<QByteArray>
pub unsafe fn result(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QCryptographicHash::result() const.
Sourcepub unsafe fn static_meta_object() -> Ref<QMetaObject>
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
Returns a reference to the staticMetaObject field.
Trait Implementations§
Source§impl CppDeletable for QCryptographicHash
impl CppDeletable for QCryptographicHash
Auto Trait Implementations§
impl Freeze for QCryptographicHash
impl RefUnwindSafe for QCryptographicHash
impl Send for QCryptographicHash
impl Sync for QCryptographicHash
impl Unpin for QCryptographicHash
impl UnsafeUnpin for QCryptographicHash
impl UnwindSafe for QCryptographicHash
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