#[non_exhaustive]pub struct ProjectedCrsDraft<'a> {
pub name: &'a str,
pub description: Option<&'a str>,
pub geodetic_datum: Option<&'a str>,
pub vertical_datum: Option<&'a str>,
pub map_projection: Option<&'a str>,
pub map_zone: Option<&'a str>,
pub map_unit: Option<EntityId>,
}Expand description
Authored fields for IfcProjectedCRS.
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: &'a strName, the CRS identifier such as EPSG:25832.
description: Option<&'a str>Description.
geodetic_datum: Option<&'a str>GeodeticDatum.
vertical_datum: Option<&'a str>VerticalDatum.
map_projection: Option<&'a str>MapProjection.
map_zone: Option<&'a str>MapZone.
map_unit: Option<EntityId>MapUnit, an IfcNamedUnit reference.
Implementations§
Source§impl<'a> ProjectedCrsDraft<'a>
impl<'a> ProjectedCrsDraft<'a>
Sourcepub const fn new(name: &'a str) -> Self
pub const fn new(name: &'a str) -> Self
Starts a draft for the CRS called name, such as EPSG:25832.
Sourcepub const fn description(self, value: &'a str) -> Self
pub const fn description(self, value: &'a str) -> Self
Sets Description.
Sourcepub const fn geodetic_datum(self, value: &'a str) -> Self
pub const fn geodetic_datum(self, value: &'a str) -> Self
Sets GeodeticDatum.
Sourcepub const fn vertical_datum(self, value: &'a str) -> Self
pub const fn vertical_datum(self, value: &'a str) -> Self
Sets VerticalDatum.
Sourcepub const fn map_projection(self, value: &'a str) -> Self
pub const fn map_projection(self, value: &'a str) -> Self
Sets MapProjection.
Trait Implementations§
Source§impl<'a> Clone for ProjectedCrsDraft<'a>
impl<'a> Clone for ProjectedCrsDraft<'a>
Source§fn clone(&self) -> ProjectedCrsDraft<'a>
fn clone(&self) -> ProjectedCrsDraft<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ProjectedCrsDraft<'a>
Source§impl<'a> Debug for ProjectedCrsDraft<'a>
impl<'a> Debug for ProjectedCrsDraft<'a>
Source§impl<'a> Default for ProjectedCrsDraft<'a>
impl<'a> Default for ProjectedCrsDraft<'a>
Source§fn default() -> ProjectedCrsDraft<'a>
fn default() -> ProjectedCrsDraft<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ProjectedCrsDraft<'a>
impl<'a> RefUnwindSafe for ProjectedCrsDraft<'a>
impl<'a> Send for ProjectedCrsDraft<'a>
impl<'a> Sync for ProjectedCrsDraft<'a>
impl<'a> Unpin for ProjectedCrsDraft<'a>
impl<'a> UnsafeUnpin for ProjectedCrsDraft<'a>
impl<'a> UnwindSafe for ProjectedCrsDraft<'a>
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