#[non_exhaustive]pub struct SurfaceStyleShadingDraft {
pub surface_colour: EntityId,
pub transparency: Option<f64>,
}Expand description
Draft input for create_surface_style_shading: the writable attributes
of a new IfcSurfaceStyleShading.
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.surface_colour: EntityIdThe SurfaceColour reference to an IfcColourRgb.
transparency: Option<f64>The Transparency factor, when supplied; must be a finite value in
[0, 1].
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceStyleShadingDraft
impl Clone for SurfaceStyleShadingDraft
impl Copy for SurfaceStyleShadingDraft
Auto Trait Implementations§
impl Freeze for SurfaceStyleShadingDraft
impl RefUnwindSafe for SurfaceStyleShadingDraft
impl Send for SurfaceStyleShadingDraft
impl Sync for SurfaceStyleShadingDraft
impl Unpin for SurfaceStyleShadingDraft
impl UnsafeUnpin for SurfaceStyleShadingDraft
impl UnwindSafe for SurfaceStyleShadingDraft
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