#[non_exhaustive]pub enum OperationSource {
Context(EntityId),
CoordinateReferenceSystem(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.
Implementations§
Trait Implementations§
Source§impl Clone for OperationSource
impl Clone for OperationSource
impl 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