Initial MetaCrate rewrite shell
This commit is contained in:
139
crates/libremetaverse-prim-mesher/src/generated.rs
Normal file
139
crates/libremetaverse-prim-mesher/src/generated.rs
Normal file
@@ -0,0 +1,139 @@
|
||||
// @generated by tools/generate_surface.py; do not edit by hand.
|
||||
// Source: LibreMetaverse 2aa70bb68513b39795da5d13c88f31b86e85a3ba
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.Coord`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct Coord;
|
||||
impl Coord {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.Coord";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.Face`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct Face;
|
||||
impl Face {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.Face";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.ObjMesh`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct ObjMesh;
|
||||
impl ObjMesh {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.ObjMesh";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.Path`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct Path;
|
||||
impl Path {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.Path";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.PathNode`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct PathNode;
|
||||
impl PathNode {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.PathNode";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `enum` shim for C# `LibreMetaverse.PrimMesher.PathType`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct PathType;
|
||||
impl PathType {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.PathType";
|
||||
pub const CSHARP_KIND: &'static str = "enum";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.PrimMesh`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct PrimMesh;
|
||||
impl PrimMesh {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.PrimMesh";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.Profile`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct Profile;
|
||||
impl Profile {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.Profile";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.Quat`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct Quat;
|
||||
impl Quat {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.Quat";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.SculptMap`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct SculptMap;
|
||||
impl SculptMap {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.SculptMap";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.SculptMesh`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct SculptMesh;
|
||||
impl SculptMesh {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.SculptMesh";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `enum` shim for C# `LibreMetaverse.PrimMesher.SculptType`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct SculptType;
|
||||
impl SculptType {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.SculptType";
|
||||
pub const CSHARP_KIND: &'static str = "enum";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.UVCoord`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct UVCoord;
|
||||
impl UVCoord {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.UVCoord";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.PrimMesher.VertexIndexer`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct VertexIndexer;
|
||||
impl VertexIndexer {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.VertexIndexer";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.ViewerFace`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct ViewerFace;
|
||||
impl ViewerFace {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.ViewerFace";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.ViewerPolygon`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct ViewerPolygon;
|
||||
impl ViewerPolygon {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.ViewerPolygon";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
|
||||
/// `struct` shim for C# `LibreMetaverse.PrimMesher.ViewerVertex`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct ViewerVertex;
|
||||
impl ViewerVertex {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.PrimMesher.ViewerVertex";
|
||||
pub const CSHARP_KIND: &'static str = "struct";
|
||||
}
|
||||
6
crates/libremetaverse-prim-mesher/src/lib.rs
Normal file
6
crates/libremetaverse-prim-mesher/src/lib.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
//! Primitive mesher corresponding to `LibreMetaverse.PrimMesher`.
|
||||
|
||||
mod generated;
|
||||
|
||||
pub use generated::*;
|
||||
pub use libremetaverse_imaging as imaging;
|
||||
Reference in New Issue
Block a user