pub struct SelectedRepresentation {
pub id: u64,
pub identifier: Option<String>,
pub representation_type: Option<String>,
pub context: Option<u64>,
pub context_type: Option<String>,
pub context_identifier: Option<String>,
pub target_view: Option<String>,
}Expand description
The IfcShapeRepresentation selected as a product’s Body, and its
context.
Fields§
§id: u64The representation’s entity id.
identifier: Option<String>RepresentationIdentifier, e.g. Body.
representation_type: Option<String>RepresentationType, e.g. SweptSolid.
context: Option<u64>ContextOfItems, when the file contains it.
context_type: Option<String>The context’s ContextType, e.g. Model (a sub-context’s derived
from its parent).
context_identifier: Option<String>The context’s ContextIdentifier, e.g. Body.
target_view: Option<String>A sub-context’s TargetView literal, e.g. MODEL_VIEW.
Trait Implementations§
Source§impl Clone for SelectedRepresentation
impl Clone for SelectedRepresentation
Source§fn clone(&self) -> SelectedRepresentation
fn clone(&self) -> SelectedRepresentation
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 moreSource§impl Debug for SelectedRepresentation
impl Debug for SelectedRepresentation
impl Eq for SelectedRepresentation
Source§impl PartialEq for SelectedRepresentation
impl PartialEq for SelectedRepresentation
impl StructuralPartialEq for SelectedRepresentation
Auto Trait Implementations§
impl Freeze for SelectedRepresentation
impl RefUnwindSafe for SelectedRepresentation
impl Send for SelectedRepresentation
impl Sync for SelectedRepresentation
impl Unpin for SelectedRepresentation
impl UnsafeUnpin for SelectedRepresentation
impl UnwindSafe for SelectedRepresentation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.