Struct sep2_common::packages::der::FixedPointType
source · pub struct FixedPointType {
pub multiplier: PowerOfTenMultiplierType,
pub value: Int16,
}
Available on crate feature
der
only.Expand description
Abstract type for specifying a fixed-point value without a given unit of measure.
Fields§
§multiplier: PowerOfTenMultiplierType
Specifies exponent of uom.
value: Int16
Dimensionless value
Trait Implementations§
source§impl Clone for FixedPointType
impl Clone for FixedPointType
source§fn clone(&self) -> FixedPointType
fn clone(&self) -> FixedPointType
Returns a copy 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 Debug for FixedPointType
impl Debug for FixedPointType
source§impl Default for FixedPointType
impl Default for FixedPointType
source§fn default() -> FixedPointType
fn default() -> FixedPointType
Returns the “default value” for a type. Read more
source§impl PartialEq<FixedPointType> for FixedPointType
impl PartialEq<FixedPointType> for FixedPointType
source§fn eq(&self, other: &FixedPointType) -> bool
fn eq(&self, other: &FixedPointType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for FixedPointType
impl YaDeserialize for FixedPointType
source§impl YaSerialize for FixedPointType
impl YaSerialize for FixedPointType
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for FixedPointType
impl StructuralEq for FixedPointType
impl StructuralPartialEq for FixedPointType
Auto Trait Implementations§
impl RefUnwindSafe for FixedPointType
impl Send for FixedPointType
impl Sync for FixedPointType
impl Unpin for FixedPointType
impl UnwindSafe for FixedPointType
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