pub struct VisualizationMetadata<Attributes = ()> {
pub schema: String,
pub schema_version: u32,
pub producer: String,
pub dimension: usize,
pub vertex_count: usize,
pub simplex_count: usize,
pub topology_kind: VisualizationTopologyKind,
pub topology_guarantee: VisualizationTopologyGuarantee,
pub attributes: Option<Attributes>,
}Expand description
Global metadata for VisualizationData.
Fields§
§schema: StringStable schema name for downstream format dispatch.
schema_version: u32Integer schema version for compatibility checks.
producer: StringName of the crate or tool that produced this export.
dimension: usizeCompile-time triangulation dimension recorded for non-Rust consumers.
vertex_count: usizeNumber of exported vertex records.
simplex_count: usizeNumber of exported simplex records.
topology_kind: VisualizationTopologyKindTopological-space kind recorded as a stable schema category.
topology_guarantee: VisualizationTopologyGuaranteeValidation/topology guarantee recorded as a stable schema category.
attributes: Option<Attributes>Optional downstream global metadata.
Trait Implementations§
Source§impl<Attributes: Clone> Clone for VisualizationMetadata<Attributes>
impl<Attributes: Clone> Clone for VisualizationMetadata<Attributes>
Source§fn clone(&self) -> VisualizationMetadata<Attributes>
fn clone(&self) -> VisualizationMetadata<Attributes>
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<Attributes: Debug> Debug for VisualizationMetadata<Attributes>
impl<Attributes: Debug> Debug for VisualizationMetadata<Attributes>
Source§impl<'de, Attributes> Deserialize<'de> for VisualizationMetadata<Attributes>where
Attributes: Deserialize<'de>,
impl<'de, Attributes> Deserialize<'de> for VisualizationMetadata<Attributes>where
Attributes: Deserialize<'de>,
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<Attributes: Eq> Eq for VisualizationMetadata<Attributes>
Source§impl<Attributes: PartialEq> PartialEq for VisualizationMetadata<Attributes>
impl<Attributes: PartialEq> PartialEq for VisualizationMetadata<Attributes>
Source§impl<Attributes> Serialize for VisualizationMetadata<Attributes>where
Attributes: Serialize,
impl<Attributes> Serialize for VisualizationMetadata<Attributes>where
Attributes: Serialize,
impl<Attributes: PartialEq> StructuralPartialEq for VisualizationMetadata<Attributes>
Auto Trait Implementations§
impl<Attributes> Freeze for VisualizationMetadata<Attributes>where
Attributes: Freeze,
impl<Attributes> RefUnwindSafe for VisualizationMetadata<Attributes>where
Attributes: RefUnwindSafe,
impl<Attributes> Send for VisualizationMetadata<Attributes>where
Attributes: Send,
impl<Attributes> Sync for VisualizationMetadata<Attributes>where
Attributes: Sync,
impl<Attributes> Unpin for VisualizationMetadata<Attributes>where
Attributes: Unpin,
impl<Attributes> UnsafeUnpin for VisualizationMetadata<Attributes>where
Attributes: UnsafeUnpin,
impl<Attributes> UnwindSafe for VisualizationMetadata<Attributes>where
Attributes: UnwindSafe,
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