pub enum IntegerCoding {
Unsigned,
TwosComplement,
SignMagnitude,
OnesComplement,
}Expand description
Integer encodings defined by XTCE 4.3.2.2.5.6.2.
Variants§
Unsigned
unsigned.
TwosComplement
twosComplement, plus the misspelling twosCompliment and the informal signed,
both of which occur in shipped mission databases and are accepted by the reference
implementation.
SignMagnitude
signMagnitude: the top bit is the sign, the rest is magnitude.
OnesComplement
onesComplement.
Trait Implementations§
Source§impl Clone for IntegerCoding
impl Clone for IntegerCoding
impl Copy for IntegerCoding
Source§impl Debug for IntegerCoding
impl Debug for IntegerCoding
Source§impl Default for IntegerCoding
impl Default for IntegerCoding
impl Eq for IntegerCoding
Source§impl PartialEq for IntegerCoding
impl PartialEq for IntegerCoding
impl StructuralPartialEq for IntegerCoding
Auto Trait Implementations§
impl Forget for IntegerCoding
impl Freeze for IntegerCoding
impl Move for IntegerCoding
impl RefUnwindSafe for IntegerCoding
impl Send for IntegerCoding
impl Sync for IntegerCoding
impl Unpin for IntegerCoding
impl UnsafeUnpin for IntegerCoding
impl UnwindSafe for IntegerCoding
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