pub enum ClipBody {
Suppress {
constraint: String,
},
Camera {
views: Vec<String>,
},
Visibility {
occurrences: Vec<String>,
},
Transparency {
occurrences: Vec<String>,
opacity: [f64; 2],
},
Section {
view: String,
sweep: Option<[f64; 2]>,
},
Explode {
view: String,
collapse: bool,
},
}Variants§
Suppress
The constraint is off (suppressed) inside the span.
Camera
The camera moves through these PMI views’ cameras, evenly over the span, and holds the last one after it.
Visibility
The occurrences are hidden inside the span.
Transparency
The occurrences’ opacity ramps from opacity[0] to opacity[1] over
the span.
Section
The PMI view’s section is on inside the span; with sweep, its planes
move along their normals from sweep[0] to sweep[1] (model units).
Explode
The exploded view’s steps play over the span (collapse: backwards), and the last state holds after it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClipBody
impl<'de> Deserialize<'de> for ClipBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ClipBody
Auto Trait Implementations§
impl Forget for ClipBody
impl Freeze for ClipBody
impl RefUnwindSafe for ClipBody
impl Send for ClipBody
impl Sync for ClipBody
impl Unpin for ClipBody
impl UnsafeUnpin for ClipBody
impl UnwindSafe for ClipBody
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