pub trait ToRecord {
// Required method
fn to_record(&self) -> Record;
}Expand description
A snapshot that every host carries as a Record.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ToRecord for AttributeInfo
impl ToRecord for AuthoringResult
impl ToRecord for Bounds
impl ToRecord for Classification
impl ToRecord for ClassificationSystem
impl ToRecord for ConvertedValues
impl ToRecord for CopiedEntity
impl ToRecord for CopyReport
impl ToRecord for Cost
impl ToRecord for CostAnomaly
impl ToRecord for CostItem
impl ToRecord for CostSchedule
impl ToRecord for CostValue
impl ToRecord for Enumeration
impl ToRecord for GeometryRefusal
impl ToRecord for HistoryChange
impl ToRecord for HistoryState
impl ToRecord for InverseAttributeInfo
impl ToRecord for InverseReference
impl ToRecord for KeptEntity
impl ToRecord for KeptValues
impl ToRecord for LengthUnit
impl ToRecord for LengthUnitReport
impl ToRecord for MapConversion
impl ToRecord for MaterialAssignment
impl ToRecord for MaterialConstituent
impl ToRecord for MaterialLayer
impl ToRecord for MaterialProfile
impl ToRecord for MaterialRef
impl ToRecord for MaterialUsage
impl ToRecord for ObjectPropertySets
impl ToRecord for ProductCurves
The curves’ metadata: the positions cross separately, in each host’s typed-array form, as a mesh’s do.
impl ToRecord for ProductGeometry
The record’s metadata: the payload crosses separately, as a string or a byte array in each host’s idiom, never inside the record.
impl ToRecord for ProductMesh
The mesh’s metadata: the arrays cross separately, in each host’s
typed-array form (Float32Array, array('f'), a caller float
buffer), never as a list of reals.