pub struct DigitDecompositionEventDescriptor {
pub base: u16,
pub is_signed: bool,
pub unit: String,
pub precision: i32,
pub nb_digits: u16,
}
Expand description
Describes the outcomes of a numerical outcome event.
Fields§
§base: u16
The base in which the outcome will be represented.
is_signed: bool
Whether the outcome value is signed.
unit: String
The unit in which the outcome is represented.
precision: i32
The precision used to represent the event outcome.
nb_digits: u16
The number of digits used to represent the event outcome.
Trait Implementations§
Source§impl Clone for DigitDecompositionEventDescriptor
impl Clone for DigitDecompositionEventDescriptor
Source§fn clone(&self) -> DigitDecompositionEventDescriptor
fn clone(&self) -> DigitDecompositionEventDescriptor
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 moreSource§impl PartialEq for DigitDecompositionEventDescriptor
impl PartialEq for DigitDecompositionEventDescriptor
Source§fn eq(&self, other: &DigitDecompositionEventDescriptor) -> bool
fn eq(&self, other: &DigitDecompositionEventDescriptor) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Writeable for DigitDecompositionEventDescriptor
impl Writeable for DigitDecompositionEventDescriptor
impl Eq for DigitDecompositionEventDescriptor
impl StructuralPartialEq for DigitDecompositionEventDescriptor
Auto Trait Implementations§
impl Freeze for DigitDecompositionEventDescriptor
impl RefUnwindSafe for DigitDecompositionEventDescriptor
impl Send for DigitDecompositionEventDescriptor
impl Sync for DigitDecompositionEventDescriptor
impl Unpin for DigitDecompositionEventDescriptor
impl UnwindSafe for DigitDecompositionEventDescriptor
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