pub enum ByteOrder {
LittleEndian,
BigEndian,
}Expand description
The two byte orders a WKB record may declare.
The leading byte of every WKB record is 0x00 for big-endian
(network byte order) or 0x01 for little-endian, per OGC 06-103r4
§8.2.3. Every multi-byte scalar in that record is then read/written
in the declared order.
Variants§
LittleEndian
0x01 — least-significant byte first.
BigEndian
0x00 — most-significant byte first (XDR / network order).
Trait Implementations§
impl Copy for ByteOrder
impl Eq for ByteOrder
impl StructuralPartialEq for ByteOrder
Auto Trait Implementations§
impl Freeze for ByteOrder
impl RefUnwindSafe for ByteOrder
impl Send for ByteOrder
impl Sync for ByteOrder
impl Unpin for ByteOrder
impl UnsafeUnpin for ByteOrder
impl UnwindSafe for ByteOrder
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