#[non_exhaustive]pub struct AppendOptions {
pub global_ids: String,
pub reuse_units: bool,
pub reuse_contexts: bool,
pub reuse_owner_history: bool,
pub reuse_materials: bool,
pub reuse_styles: bool,
pub dry_run: bool,
}Expand description
How IfcModel::append copies from another model (the facade’s
AppendOptions).
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.global_ids: Stringkeep (the default), regenerate, regenerate-colliding or
merge.
reuse_units: boolReuse the target’s equal units.
reuse_contexts: boolReuse the target’s equal representation contexts.
reuse_owner_history: boolReuse the target’s equal owner history and actors.
reuse_materials: boolReuse the target’s equal material definitions.
reuse_styles: boolReuse the target’s equal presentation styles.
dry_run: boolReport what would be copied without changing the model.
Implementations§
Source§impl AppendOptions
impl AppendOptions
Trait Implementations§
Source§impl Clone for AppendOptions
impl Clone for AppendOptions
Source§fn clone(&self) -> AppendOptions
fn clone(&self) -> AppendOptions
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 AppendOptions
impl Debug for AppendOptions
Source§impl Default for AppendOptions
impl Default for AppendOptions
impl Eq for AppendOptions
Source§impl PartialEq for AppendOptions
impl PartialEq for AppendOptions
impl StructuralPartialEq for AppendOptions
Auto Trait Implementations§
impl Freeze for AppendOptions
impl RefUnwindSafe for AppendOptions
impl Send for AppendOptions
impl Sync for AppendOptions
impl Unpin for AppendOptions
impl UnsafeUnpin for AppendOptions
impl UnwindSafe for AppendOptions
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.