#[repr(u32)]pub enum IdType {
Id = 0,
Ecc2 = 1,
Uuid = 2,
Au8 = 3,
EccU64 = 4,
U64s = 5,
}
Expand description
Identifier type as specified in the hff header. This has no impact on behavior at all, it is only a hint to the end user about how to use/view the ID’s.
Variants§
Id = 0
A simple u128.
Ecc2 = 1
Dual eight character codes.
Uuid = 2
A UUID.
Au8 = 3
An array of u8.
EccU64 = 4
An eight character code and a u64.
U64s = 5
Two u64’s.
Trait Implementations§
Source§impl Ord for IdType
impl Ord for IdType
Source§impl PartialOrd for IdType
impl PartialOrd for IdType
impl Copy for IdType
impl Eq for IdType
impl StructuralPartialEq for IdType
Auto Trait Implementations§
impl Freeze for IdType
impl RefUnwindSafe for IdType
impl Send for IdType
impl Sync for IdType
impl Unpin for IdType
impl UnwindSafe for IdType
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