FormatHandler

Trait FormatHandler 

Source
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§

Source

fn supported_extensions(&self) -> &[&'static str]

Get the file extensions this handler supports

Source

fn magic_bytes(&self) -> &[u8]

Get the magic bytes/header signature for format detection

Implementors§