pub enum TargetView {
PlanView,
ModelView,
ElevationView,
SectionView,
GraphView,
SketchView,
ReflectedPlanView,
UserDefined(Option<String>),
NotDefined,
Other(String),
}Expand description
The intended presentation of a sub-context.
Drawing production selects on this: a floor plan is the geometry authored
into a PlanView sub-context.
Variants§
PlanView
.PLAN_VIEW. — the horizontal section a floor plan is drawn from.
ModelView
.MODEL_VIEW. — the 3D shape a viewer draws.
ElevationView
.ELEVATION_VIEW.
SectionView
.SECTION_VIEW.
GraphView
.GRAPH_VIEW. — schematic lines such as an analytical model.
SketchView
.SKETCH_VIEW.
ReflectedPlanView
.REFLECTED_PLAN_VIEW. — a ceiling plan.
UserDefined(Option<String>)
.USERDEFINED., carrying UserDefinedTargetView when the author set it.
NotDefined
.NOTDEFINED.
Other(String)
An enumeration value this crate does not know.
Preserved rather than collapsed into NotDefined: a later schema may
add views, and reporting the literal keeps the file readable.
Implementations§
Trait Implementations§
Source§impl Clone for TargetView
impl Clone for TargetView
Source§impl Debug for TargetView
impl Debug for TargetView
impl Eq for TargetView
Source§impl PartialEq for TargetView
impl PartialEq for TargetView
impl StructuralPartialEq for TargetView
Auto Trait Implementations§
impl Freeze for TargetView
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnsafeUnpin for TargetView
impl UnwindSafe for TargetView
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