pub struct Float32Type {
pub name: String,
pub description: Option<String>,
pub annotations: Option<Fmi3Annotations>,
pub quantity: Option<String>,
pub unit: Option<String>,
pub display_unit: Option<String>,
pub relative_quantity: Option<bool>,
pub unbounded: Option<bool>,
pub min: Option<f32>,
pub max: Option<f32>,
pub nominal: Option<f32>,
}Fields§
§name: String§description: Option<String>§annotations: Option<Fmi3Annotations>§quantity: Option<String>§unit: Option<String>§display_unit: Option<String>§relative_quantity: Option<bool>§unbounded: Option<bool>§min: Option<f32>§max: Option<f32>§nominal: Option<f32>Trait Implementations§
Source§impl BaseTypeTrait for Float32Type
impl BaseTypeTrait for Float32Type
Source§impl Debug for Float32Type
impl Debug for Float32Type
Source§impl Default for Float32Type
impl Default for Float32Type
Source§fn default() -> Float32Type
fn default() -> Float32Type
Returns the “default value” for a type. Read more
Source§impl PartialEq for Float32Type
impl PartialEq for Float32Type
Source§impl<'__input> XmlRead<'__input> for Float32Type
impl<'__input> XmlRead<'__input> for Float32Type
Source§impl XmlWrite for Float32Type
impl XmlWrite for Float32Type
impl StructuralPartialEq for Float32Type
Auto Trait Implementations§
impl Freeze for Float32Type
impl RefUnwindSafe for Float32Type
impl Send for Float32Type
impl Sync for Float32Type
impl Unpin for Float32Type
impl UnwindSafe for Float32Type
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more