Struct qmetaobject::QByteArray [−][src]
#[repr(C)]pub struct QByteArray { /* fields omitted */ }
Wrapper around QByteArray
class.
Implementations
impl QByteArray
[src]
Trait Implementations
impl Clone for QByteArray
[src]
pub fn clone(&self) -> QByteArray
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QByteArray
[src]
pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
[src]
Prints the contents of the QByteArray
if it contains UTF-8, nothing otherwise
impl Default for QByteArray
[src]
pub fn default() -> QByteArray
[src]
impl Display for QByteArray
[src]
pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
[src]
Prints the contents of the QByteArray
if it contains UTF-8, do nothing otherwise.
impl Drop for QByteArray
[src]
impl Eq for QByteArray
[src]
impl<'a> From<&'a [u8]> for QByteArray
[src]
impl<'a> From<&'a str> for QByteArray
[src]
pub fn from(s: &'a str) -> QByteArray
[src]
Constructs a QByteArray
from a &str
. (Copy the string.)
impl From<QByteArray> for QVariant
[src]
pub fn from(a: QByteArray) -> QVariant
[src]
Wrapper around QVariant(const QByteArray &)
constructor.
impl From<QString> for QByteArray
[src]
pub fn from(s: QString) -> QByteArray
[src]
Converts a QString
to a QByteArray
impl From<String> for QByteArray
[src]
pub fn from(s: String) -> QByteArray
[src]
Constructs a QByteArray
from a String
. (Copy the string.)
impl Ord for QByteArray
[src]
pub fn cmp(&self, other: &QByteArray) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn max(self, other: Self) -> Self#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn min(self, other: Self) -> Self#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
#[must_use]
pub fn clamp(self, min: Self, max: Self) -> Selfimpl PartialEq<QByteArray> for QByteArray
[src]
pub fn eq(&self, other: &QByteArray) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl PartialOrd<QByteArray> for QByteArray
[src]
pub fn lt(&self, other: &QByteArray) -> bool
[src]
pub fn gt(&self, other: &QByteArray) -> bool
[src]
pub fn le(&self, other: &QByteArray) -> bool
[src]
pub fn ge(&self, other: &QByteArray) -> bool
[src]
pub fn partial_cmp(&self, other: &QByteArray) -> Option<Ordering>
[src]
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 StructuralEq for QByteArray
[src]
Auto Trait Implementations
impl RefUnwindSafe for QByteArray
impl Send for QByteArray
impl Sync for QByteArray
impl Unpin for QByteArray
impl UnwindSafe for QByteArray
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> PropertyType for T where
T: QMetaType,
[src]
T: QMetaType,
pub fn register_type(&CStr) -> i32
[src]
pub unsafe fn pass_to_qt(&mut Self, *mut c_void)
[src]
pub unsafe fn read_from_qt(*const c_void) -> T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,