#[non_exhaustive]pub enum OperationSource {
Context(EntityId),
CoordinateReferenceSystem(EntityId),
PropertySet(EntityId),
}Expand description
The validated SourceCRS of a coordinate operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Context(EntityId)
An IfcGeometricRepresentationContext (never a sub-context, which
NoCoordOperation forbids): the usual case, the project’s own
engineering frame.
CoordinateReferenceSystem(EntityId)
An IfcCoordinateReferenceSystem subtype: an operation chained from
another CRS.
PropertySet(EntityId)
IFC2X3: the IfcProject (or, as a legacy fallback, the IfcSite)
whose ePSet_MapConversion and ePSet_ProjectedCRS state the
operation. IFC2X3 has no SourceCRS; the property sets apply to the
object they are attached to (see
crate::resolve_property_set_georeferencing).
Implementations§
Trait Implementations§
Source§impl Clone for OperationSource
impl Clone for OperationSource
Source§fn clone(&self) -> OperationSource
fn clone(&self) -> OperationSource
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 Copy for OperationSource
Source§impl Debug for OperationSource
impl Debug for OperationSource
impl Eq for OperationSource
Source§impl PartialEq for OperationSource
impl PartialEq for OperationSource
impl StructuralPartialEq for OperationSource
Auto Trait Implementations§
impl Freeze for OperationSource
impl RefUnwindSafe for OperationSource
impl Send for OperationSource
impl Sync for OperationSource
impl Unpin for OperationSource
impl UnsafeUnpin for OperationSource
impl UnwindSafe for OperationSource
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