#[non_exhaustive]pub struct AngleUnit {
pub name: String,
pub radians_per_unit: f64,
}Expand description
A plane-angle unit reduced to a radian factor, as an IFC4X3
IfcGeographicCRS.AngleUnit declares it.
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: StringUnit name, either an SI token such as RADIAN or the authored
IfcConversionBasedUnit.Name such as DEGREE.
radians_per_unit: f64Radians per one unit. Always finite and strictly positive.
Trait Implementations§
impl StructuralPartialEq for AngleUnit
Auto Trait Implementations§
impl Freeze for AngleUnit
impl RefUnwindSafe for AngleUnit
impl Send for AngleUnit
impl Sync for AngleUnit
impl Unpin for AngleUnit
impl UnsafeUnpin for AngleUnit
impl UnwindSafe for AngleUnit
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