pub struct MaterialUsage {
pub layer_set_direction: Option<String>,
pub direction_sense: Option<String>,
pub offset_from_reference_line: Option<f64>,
pub reference_extent: Option<f64>,
pub cardinal_point: Option<i64>,
pub end_set: Option<u64>,
pub cardinal_end_point: Option<i64>,
}Expand description
How a layer or profile set is placed relative to the element.
Fields§
§layer_set_direction: Option<String>Layer sets: AXIS1, AXIS2 or AXIS3.
direction_sense: Option<String>Layer sets: POSITIVE or NEGATIVE.
offset_from_reference_line: Option<f64>Layer sets: OffsetFromReferenceLine, in the file’s length unit.
reference_extent: Option<f64>ReferenceExtent, when stated.
cardinal_point: Option<i64>Profile sets: CardinalPoint.
end_set: Option<u64>Tapering profile sets: ForProfileEndSet.
cardinal_end_point: Option<i64>Tapering profile sets: CardinalEndPoint.
Trait Implementations§
Source§impl Clone for MaterialUsage
impl Clone for MaterialUsage
Source§fn clone(&self) -> MaterialUsage
fn clone(&self) -> MaterialUsage
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 MaterialUsage
impl Debug for MaterialUsage
Source§impl PartialEq for MaterialUsage
impl PartialEq for MaterialUsage
impl StructuralPartialEq for MaterialUsage
Auto Trait Implementations§
impl Freeze for MaterialUsage
impl RefUnwindSafe for MaterialUsage
impl Send for MaterialUsage
impl Sync for MaterialUsage
impl Unpin for MaterialUsage
impl UnsafeUnpin for MaterialUsage
impl UnwindSafe for MaterialUsage
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