[−]Struct qmetaobject::qttypes::QByteArray
Wrapper around Qt's QByteArray
Methods
impl QByteArray
[src]
Trait Implementations
impl QMetaType for QByteArray
[src]
fn register(_name: Option<&CStr>) -> i32
[src]
fn id() -> i32
[src]
fn to_qvariant(&self) -> QVariant
[src]
fn from_qvariant(variant: QVariant) -> Option<Self>
[src]
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString>
[src]
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self>
[src]
impl Drop for QByteArray
fn drop(&mut self)
impl<'a> From<&'a [u8]> for QByteArray
[src]
impl<'a> From<&'a str> for QByteArray
[src]
fn from(s: &'a str) -> QByteArray
[src]
Constructs a QByteArray from a &str. (Copy the string.)
impl From<String> for QByteArray
[src]
fn from(s: String) -> QByteArray
[src]
Constructs a QByteArray from a String. (Copy the string.)
impl From<QString> for QByteArray
[src]
fn from(s: QString) -> QByteArray
[src]
Converts a QString to a QByteArray
impl From<QByteArray> for QVariant
[src]
fn from(a: QByteArray) -> QVariant
[src]
impl Clone for QByteArray
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for QByteArray
fn default() -> Self
impl Eq for QByteArray
impl Ord for QByteArray
fn cmp(&self, other: &QByteArray) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<QByteArray> for QByteArray
impl PartialOrd<QByteArray> for QByteArray
fn lt(&self, other: &QByteArray) -> bool
fn gt(&self, other: &QByteArray) -> bool
fn le(&self, other: &QByteArray) -> bool
fn ge(&self, other: &QByteArray) -> bool
fn partial_cmp(&self, other: &QByteArray) -> Option<Ordering>
impl Display for QByteArray
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Prints the contents of the QByteArray if it contains UTF-8, nothing otherwise
impl Debug for QByteArray
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Prints the contents of the QByteArray if it contains UTF-8, nothing otherwise
impl StructuralEq for QByteArray
Auto Trait Implementations
impl Send for QByteArray
impl Sync for QByteArray
impl Unpin for QByteArray
impl UnwindSafe for QByteArray
impl RefUnwindSafe for QByteArray
Blanket Implementations
impl<T> QMetaType for T where
T: QGadget + Clone + Default + 'static,
[src]
T: QGadget + Clone + Default + 'static,
fn register(Option<&CStr>) -> i32
[src]
fn id() -> i32
[src]
fn to_qvariant(&self) -> QVariant
[src]
fn from_qvariant(variant: QVariant) -> Option<Self>
[src]
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString>
[src]
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self>
[src]
impl<T> PropertyType for T where
T: QMetaType,
[src]
T: QMetaType,
unsafe fn pass_to_qt(&mut Self, *mut c_void)
[src]
unsafe fn read_from_qt(*const c_void) -> T
[src]
fn register_type(&CStr) -> i32
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,