pub enum DecodeDepth {
Container,
Geometry,
Full,
}Expand description
How much of the source document a decode transfers.
Depths are ordered: each one transfers everything a shallower depth transfers. A caller requests a depth through the decode context, and the codec records the depth it delivered on the decoded document.
Variants§
Container
The container layer only: framing, identity, and native container records, without entity transfer.
Geometry
Everything an exchange output consumes: B-rep, tessellation, product structure, placements, appearance, PMI, and attributes. Every design arena (features, sketches, parameters, configurations, spreadsheets, and their topology bindings) is empty.
Full
Everything the codec transfers, including design intent.
Implementations§
Trait Implementations§
Source§impl Clone for DecodeDepth
impl Clone for DecodeDepth
impl Copy for DecodeDepth
Source§impl Debug for DecodeDepth
impl Debug for DecodeDepth
Source§impl Default for DecodeDepth
impl Default for DecodeDepth
Source§impl<'de> Deserialize<'de> for DecodeDepth
impl<'de> Deserialize<'de> for DecodeDepth
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
Source§impl Display for DecodeDepth
impl Display for DecodeDepth
impl Eq for DecodeDepth
Source§impl Hash for DecodeDepth
impl Hash for DecodeDepth
Source§impl Ord for DecodeDepth
impl Ord for DecodeDepth
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DecodeDepth
impl PartialEq for DecodeDepth
Source§impl PartialOrd for DecodeDepth
impl PartialOrd for DecodeDepth
Source§impl Serialize for DecodeDepth
impl Serialize for DecodeDepth
impl StructuralPartialEq for DecodeDepth
Auto Trait Implementations§
impl Freeze for DecodeDepth
impl RefUnwindSafe for DecodeDepth
impl Send for DecodeDepth
impl Sync for DecodeDepth
impl Unpin for DecodeDepth
impl UnsafeUnpin for DecodeDepth
impl UnwindSafe for DecodeDepth
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