pub struct StepOptions {
pub schema: Option<String>,
pub included: Option<Vec<u32>>,
pub attribute_mutations: Vec<AttrMutation>,
pub property_mutations: Vec<PropMutation>,
pub copy_on_write: Vec<CopyOnWriteMutation>,
pub description: Option<String>,
pub author: Option<String>,
pub organization: Option<String>,
pub application: Option<String>,
pub filename: Option<String>,
pub time_stamp: Option<String>,
}Expand description
Options for STEP export.
Fields§
§schema: Option<String>FILE_SCHEMA label to write (e.g. IFC4). None ⇒ preserve the source schema.
When Some and the target differs, entity types/attributes are converted (P2).
included: Option<Vec<u32>>Express ids to include. None ⇒ the whole model. When set, the forward
reference closure is added so every emitted #ref resolves.
attribute_mutations: Vec<AttrMutation>Root-attribute edits to apply during serialization (P3 mutation bridge).
property_mutations: Vec<PropMutation>Property create/update edits — synthesized as new pset entities appended to DATA.
copy_on_write: Vec<CopyOnWriteMutation>Copy-then-edit mutations for records other records share.
description: Option<String>FILE_DESCRIPTION item. None ⇒ keep the source file’s items, and
fall back to the generic view-definition default only when the source
carried none.
FILE_NAME author. None ⇒ keep the source file’s.
organization: Option<String>FILE_NAME organization. None ⇒ keep the source file’s.
application: Option<String>FILE_NAME preprocessor_version — the tool writing this file.
None ⇒ ifc-lite.
filename: Option<String>FILE_NAME name. None ⇒ export.ifc.
time_stamp: Option<String>FILE_NAME time_stamp. None ⇒ the source file’s stamp. There is no
clock fallback: SystemTime::now is unavailable on the
wasm32-unknown-unknown target this exporter ships to, so a caller that
wants “now” states it.
Trait Implementations§
Source§impl Default for StepOptions
impl Default for StepOptions
Source§fn default() -> StepOptions
fn default() -> StepOptions
Auto Trait Implementations§
impl Freeze for StepOptions
impl RefUnwindSafe for StepOptions
impl Send for StepOptions
impl Sync for StepOptions
impl Unpin for StepOptions
impl UnwindSafe for StepOptions
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.