#[non_exhaustive]pub struct SiPrefix {
pub name: &'static str,
pub symbol: &'static str,
pub factor: f64,
}Expand description
One member of the IfcSIPrefix EXPRESS enumeration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: &'static strThe enumeration token without dots ("MILLI").
symbol: &'static strThe display symbol that prepends a unit symbol ("m", "\u{00B5}").
factor: f64The multiplier (1e-3).
Trait Implementations§
impl Copy for SiPrefix
impl StructuralPartialEq for SiPrefix
Auto Trait Implementations§
impl Freeze for SiPrefix
impl RefUnwindSafe for SiPrefix
impl Send for SiPrefix
impl Sync for SiPrefix
impl Unpin for SiPrefix
impl UnwindSafe for SiPrefix
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