Enum PropertyType
#[repr(u32)]pub enum PropertyType {
Byte = 0,
TwoByteInteger = 1,
FourByteInteger = 2,
VariableByteInteger = 3,
BinaryData = 4,
Utf8EncodedString = 5,
Utf8StringPair = 6,
}Expand description
The underlying data type for a specific property
Variants§
Byte = 0
A property containing a single byte
TwoByteInteger = 1
A property containing a 16-bit integer, i16 or u16.
FourByteInteger = 2
A property containing a 32-bit integer, i32 or u32.
VariableByteInteger = 3
A property containing a variable-byte value.
BinaryData = 4
A property containing a binary blob, like Vec<u8>
Utf8EncodedString = 5
A property containing a String
Utf8StringPair = 6
A property containing a pair of strings (String,String)
Implementations§
§impl PropertyType
impl PropertyType
Trait Implementations§
§impl Clone for PropertyType
impl Clone for PropertyType
§fn clone(&self) -> PropertyType
fn clone(&self) -> PropertyType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PropertyType
impl Debug for PropertyType
§impl PartialEq for PropertyType
impl PartialEq for PropertyType
§impl TryFrom<u32> for PropertyType
impl TryFrom<u32> for PropertyType
impl Copy for PropertyType
impl Eq for PropertyType
impl StructuralPartialEq for PropertyType
Auto Trait Implementations§
impl Freeze for PropertyType
impl RefUnwindSafe for PropertyType
impl Send for PropertyType
impl Sync for PropertyType
impl Unpin for PropertyType
impl UnwindSafe for PropertyType
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