[−][src]Struct qt_core::QCborSimpleType
This enum contains the possible "Simple Types" for CBOR. Simple Types range from 0 to 255 and are types that carry no further value.
C++ enum: QCborSimpleType
.
This enum contains the possible "Simple Types" for CBOR. Simple Types range from 0 to 255 and are types that carry no further value.
The following values are currently known:
Qt CBOR API supports encoding and decoding any Simple Type, whether one of those above or any other value.
Applications should only use further values if a corresponding specification has been published, otherwise interpretation and validation by the remote may fail. Values 24 to 31 are reserved and must not be used.
The current authoritative list is maintained by IANA in the Simple Values registry.
See also QCborStreamWriter::append(QCborSimpleType), QCborStreamReader::isSimpleType(), QCborStreamReader::toSimpleType(), QCborValue::isSimpleType(), and QCborValue::toSimpleType().
Methods
impl QCborSimpleType
[src]
impl QCborSimpleType
[src]
pub const False: QCborSimpleType
[src]
A "false" boolean. (C++ enum variant: False = 20
)
pub const True: QCborSimpleType
[src]
A "true" boolean. (C++ enum variant: True = 21
)
pub const Null: QCborSimpleType
[src]
Absence of value (null). (C++ enum variant: Null = 22
)
pub const Undefined: QCborSimpleType
[src]
Missing or deleted value, usually an error. (C++ enum variant: Undefined = 23
)
Trait Implementations
impl Clone for QCborSimpleType
[src]
fn clone(&self) -> QCborSimpleType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for QCborSimpleType
[src]
impl Debug for QCborSimpleType
[src]
impl Eq for QCborSimpleType
[src]
impl From<QCborSimpleType> for c_int
[src]
fn from(value: QCborSimpleType) -> Self
[src]
impl From<i32> for QCborSimpleType
[src]
impl PartialEq<QCborSimpleType> for QCborSimpleType
[src]
fn eq(&self, other: &QCborSimpleType) -> bool
[src]
fn ne(&self, other: &QCborSimpleType) -> bool
[src]
impl<'_> Shl<QCborSimpleType> for &'_ QDebug
[src]
type Output = CppBox<QDebug>
The resulting type after applying the <<
operator.
fn shl(self, st: QCborSimpleType) -> CppBox<QDebug>
[src]
Writes bit array ba to stream out.
Calls C++ function: QDebug operator<<(QDebug arg1, QCborSimpleType st)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for QDataStream &operator<<(QDataStream &out, const QBitArray &ba)
:
Writes bit array ba to stream out.
See also Format of the QDataStream operators.
impl StructuralEq for QCborSimpleType
[src]
impl StructuralPartialEq for QCborSimpleType
[src]
Auto Trait Implementations
impl RefUnwindSafe for QCborSimpleType
impl Send for QCborSimpleType
impl Sync for QCborSimpleType
impl Unpin for QCborSimpleType
impl UnwindSafe for QCborSimpleType
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<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, 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>,