Initial MetaCrate rewrite shell

This commit is contained in:
2026-08-08 09:49:22 +02:00
commit 115425cea7
66 changed files with 56984 additions and 0 deletions

View File

@@ -0,0 +1,106 @@
// @generated by tools/generate_surface.py; do not edit by hand.
// Source: LibreMetaverse 2aa70bb68513b39795da5d13c88f31b86e85a3ba
#![allow(non_camel_case_types)]
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.AvatarPosition`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct AvatarPosition;
impl AvatarPosition {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.AvatarPosition";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.Voice.WebRTC.ESessionType`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct ESessionType;
impl ESessionType {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.ESessionType";
pub const CSHARP_KIND: &'static str = "enum";
}
/// Shim for C# `LibreMetaverse.Voice.WebRTC.IVoiceLogger`.
pub trait IVoiceLogger {
const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.IVoiceLogger";
}
/// `struct` shim for C# `LibreMetaverse.Voice.WebRTC.Int3`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct Int3;
impl Int3 {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.Int3";
pub const CSHARP_KIND: &'static str = "struct";
}
/// `struct` shim for C# `LibreMetaverse.Voice.WebRTC.Int4`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct Int4;
impl Int4 {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.Int4";
pub const CSHARP_KIND: &'static str = "struct";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.LibreMetaverseVoiceLogger`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct LibreMetaverseVoiceLogger;
impl LibreMetaverseVoiceLogger {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.LibreMetaverseVoiceLogger";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.OpusDecoderContext`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct OpusDecoderContext;
impl OpusDecoderContext {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.OpusDecoderContext";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.PeerAudioState`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct PeerAudioState;
impl PeerAudioState {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.PeerAudioState";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.PeerManager`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct PeerManager;
impl PeerManager {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.PeerManager";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.VoiceException`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct VoiceException;
impl VoiceException {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.VoiceException";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.VoiceManager`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct VoiceManager;
impl VoiceManager {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.VoiceManager";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.Voice.WebRTC.VoiceSession`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct VoiceSession;
impl VoiceSession {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Voice.WebRTC.VoiceSession";
pub const CSHARP_KIND: &'static str = "class";
}
pub mod libre_metaverse {
/// `class` shim for C# `LibreMetaverse.AudioDevice`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct AudioDevice;
impl AudioDevice {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.AudioDevice";
pub const CSHARP_KIND: &'static str = "class";
}
}