Skip to main content

DoorLiningDraft

Struct DoorLiningDraft 

Source
#[non_exhaustive]
pub struct DoorLiningDraft<'a> {
Show 15 fields pub name: Option<&'a str>, pub description: Option<&'a str>, pub lining_depth: Option<f64>, pub lining_thickness: Option<f64>, pub threshold_depth: Option<f64>, pub threshold_thickness: Option<f64>, pub transom_thickness: Option<f64>, pub transom_offset: Option<f64>, pub lining_offset: Option<f64>, pub threshold_offset: Option<f64>, pub casing_thickness: Option<f64>, pub casing_depth: Option<f64>, pub shape_aspect_style: Option<EntityId>, pub lining_to_panel_offset_x: Option<f64>, pub lining_to_panel_offset_y: Option<f64>,
}
Expand description

Attributes of an IfcDoorLiningProperties.

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.
§name: Option<&'a str>

Name.

§description: Option<&'a str>

Description.

§lining_depth: Option<f64>

LiningDepth, a positive length. Requires lining_thickness (WR31).

§lining_thickness: Option<f64>

LiningThickness, a non-negative length.

§threshold_depth: Option<f64>

ThresholdDepth, a positive length. Requires threshold_thickness (WR32).

§threshold_thickness: Option<f64>

ThresholdThickness, a non-negative length.

§transom_thickness: Option<f64>

TransomThickness, a non-negative length. Paired with transom_offset (WR33).

§transom_offset: Option<f64>

TransomOffset, a length. Paired with transom_thickness (WR33).

§lining_offset: Option<f64>

LiningOffset, a length.

§threshold_offset: Option<f64>

ThresholdOffset, a length.

§casing_thickness: Option<f64>

CasingThickness, a positive length. Paired with casing_depth (WR34).

§casing_depth: Option<f64>

CasingDepth, a positive length. Paired with casing_thickness (WR34).

§shape_aspect_style: Option<EntityId>

ShapeAspectStyle.

§lining_to_panel_offset_x: Option<f64>

LiningToPanelOffsetX, a length.

§lining_to_panel_offset_y: Option<f64>

LiningToPanelOffsetY, a length.

Implementations§

Source§

impl<'a> DoorLiningDraft<'a>

Source

pub fn new() -> Self

Starts a draft with every field unset.

Source

pub fn name(self, value: &'a str) -> Self

Sets name.

Name.

Source

pub fn description(self, value: &'a str) -> Self

Sets description.

Description.

Source

pub fn lining_depth(self, value: f64) -> Self

Sets lining_depth.

LiningDepth, a positive length. Requires lining_thickness (WR31).

Source

pub fn lining_thickness(self, value: f64) -> Self

Sets lining_thickness.

LiningThickness, a non-negative length.

Source

pub fn threshold_depth(self, value: f64) -> Self

Sets threshold_depth.

ThresholdDepth, a positive length. Requires threshold_thickness (WR32).

Source

pub fn threshold_thickness(self, value: f64) -> Self

Sets threshold_thickness.

ThresholdThickness, a non-negative length.

Source

pub fn transom_thickness(self, value: f64) -> Self

Sets transom_thickness.

TransomThickness, a non-negative length. Paired with transom_offset (WR33).

Source

pub fn transom_offset(self, value: f64) -> Self

Sets transom_offset.

TransomOffset, a length. Paired with transom_thickness (WR33).

Source

pub fn lining_offset(self, value: f64) -> Self

Sets lining_offset.

LiningOffset, a length.

Source

pub fn threshold_offset(self, value: f64) -> Self

Sets threshold_offset.

ThresholdOffset, a length.

Source

pub fn casing_thickness(self, value: f64) -> Self

Sets casing_thickness.

CasingThickness, a positive length. Paired with casing_depth (WR34).

Source

pub fn casing_depth(self, value: f64) -> Self

Sets casing_depth.

CasingDepth, a positive length. Paired with casing_thickness (WR34).

Source

pub fn shape_aspect_style(self, value: EntityId) -> Self

Sets shape_aspect_style.

ShapeAspectStyle.

Source

pub fn lining_to_panel_offset_x(self, value: f64) -> Self

Sets lining_to_panel_offset_x.

LiningToPanelOffsetX, a length.

Source

pub fn lining_to_panel_offset_y(self, value: f64) -> Self

Sets lining_to_panel_offset_y.

LiningToPanelOffsetY, a length.

Trait Implementations§

Source§

impl<'a> Clone for DoorLiningDraft<'a>

Source§

fn clone(&self) -> DoorLiningDraft<'a>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Copy for DoorLiningDraft<'a>

Source§

impl<'a> Debug for DoorLiningDraft<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for DoorLiningDraft<'a>

Source§

fn default() -> DoorLiningDraft<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for DoorLiningDraft<'a>

§

impl<'a> RefUnwindSafe for DoorLiningDraft<'a>

§

impl<'a> Send for DoorLiningDraft<'a>

§

impl<'a> Sync for DoorLiningDraft<'a>

§

impl<'a> Unpin for DoorLiningDraft<'a>

§

impl<'a> UnsafeUnpin for DoorLiningDraft<'a>

§

impl<'a> UnwindSafe for DoorLiningDraft<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.