pub trait FormatHandler:
PointCloudReader
+ PointCloudWriter
+ MeshReader
+ MeshWriter
+ Send
+ Sync {
// Required methods
fn supported_extensions(&self) -> &[&'static str];
fn magic_bytes(&self) -> &[u8] ⓘ;
}
Expand description
Format handler that can read and write both point clouds and meshes
Required Methods§
Sourcefn supported_extensions(&self) -> &[&'static str]
fn supported_extensions(&self) -> &[&'static str]
Get the file extensions this handler supports
Sourcefn magic_bytes(&self) -> &[u8] ⓘ
fn magic_bytes(&self) -> &[u8] ⓘ
Get the magic bytes/header signature for format detection