#[non_exhaustive]pub struct AnnotationFillAreaDraft {
pub outer_boundary: EntityId,
pub inner_boundaries: Vec<EntityId>,
}Expand description
Draft input for create_annotation_fill_area: the writable attributes
of a new IfcAnnotationFillArea.
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.outer_boundary: EntityIdThe OuterBoundary reference to an IfcCurve.
inner_boundaries: Vec<EntityId>The InnerBoundaries references, if any; an empty list is written
as the IFC null value.
Implementations§
Source§impl AnnotationFillAreaDraft
impl AnnotationFillAreaDraft
Sourcepub fn new(outer_boundary: EntityId) -> Self
pub fn new(outer_boundary: EntityId) -> Self
Starts a draft from its required outer_boundary; every other field is
unset.
Sourcepub fn inner_boundaries(self, value: Vec<EntityId>) -> Self
pub fn inner_boundaries(self, value: Vec<EntityId>) -> Self
Sets inner_boundaries.
The InnerBoundaries references, if any; an empty list is written
as the IFC null value.
Trait Implementations§
Source§impl Clone for AnnotationFillAreaDraft
impl Clone for AnnotationFillAreaDraft
Source§fn clone(&self) -> AnnotationFillAreaDraft
fn clone(&self) -> AnnotationFillAreaDraft
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 moreAuto Trait Implementations§
impl Freeze for AnnotationFillAreaDraft
impl RefUnwindSafe for AnnotationFillAreaDraft
impl Send for AnnotationFillAreaDraft
impl Sync for AnnotationFillAreaDraft
impl Unpin for AnnotationFillAreaDraft
impl UnsafeUnpin for AnnotationFillAreaDraft
impl UnwindSafe for AnnotationFillAreaDraft
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