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,224 @@
// @generated by tools/generate_surface.py; do not edit by hand.
// Source: LibreMetaverse 2aa70bb68513b39795da5d13c88f31b86e85a3ba
#![allow(non_camel_case_types)]
/// `class` shim for C# `LibreMetaverse.RLV.AttachmentRequest`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct AttachmentRequest;
impl AttachmentRequest {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.AttachmentRequest";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.CameraRestrictions`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct CameraRestrictions;
impl CameraRestrictions {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.CameraRestrictions";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.CameraSettings`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct CameraSettings;
impl CameraSettings {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.CameraSettings";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.RLV.HoverTextLocation`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct HoverTextLocation;
impl HoverTextLocation {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.HoverTextLocation";
pub const CSHARP_KIND: &'static str = "enum";
}
/// Shim for C# `LibreMetaverse.RLV.IRlvActionCallbacks`.
pub trait IRlvActionCallbacks {
const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.IRlvActionCallbacks";
}
/// Shim for C# `LibreMetaverse.RLV.IRlvQueryCallbacks`.
pub trait IRlvQueryCallbacks {
const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.IRlvQueryCallbacks";
}
/// `class` shim for C# `LibreMetaverse.RLV.InventoryMap`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct InventoryMap;
impl InventoryMap {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.InventoryMap";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.LockedFolderPublic`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct LockedFolderPublic;
impl LockedFolderPublic {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.LockedFolderPublic";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.RLV.ObjectLocation`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct ObjectLocation;
impl ObjectLocation {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.ObjectLocation";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvActionCallbacksDefault`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvActionCallbacksDefault;
impl RlvActionCallbacksDefault {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvActionCallbacksDefault";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.RLV.RlvAttachmentPoint`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvAttachmentPoint;
impl RlvAttachmentPoint {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvAttachmentPoint";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvBlacklist`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvBlacklist;
impl RlvBlacklist {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvBlacklist";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvCallbacksDefault`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvCallbacksDefault;
impl RlvCallbacksDefault {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvCallbacksDefault";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvCommandProcessor`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvCommandProcessor;
impl RlvCommandProcessor {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvCommandProcessor";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvCommon`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvCommon;
impl RlvCommon {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvCommon";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.RLV.RlvGestureState`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvGestureState;
impl RlvGestureState {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvGestureState";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `enum` shim for C# `LibreMetaverse.RLV.RlvGetDebugType`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvGetDebugType;
impl RlvGetDebugType {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvGetDebugType";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `enum` shim for C# `LibreMetaverse.RLV.RlvGetEnvType`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvGetEnvType;
impl RlvGetEnvType {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvGetEnvType";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvInventoryItem`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvInventoryItem;
impl RlvInventoryItem {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvInventoryItem";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvPermissionsService`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvPermissionsService;
impl RlvPermissionsService {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvPermissionsService";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvRestriction`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvRestriction;
impl RlvRestriction {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvRestriction";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvRestrictionManager`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvRestrictionManager;
impl RlvRestrictionManager {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvRestrictionManager";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.RLV.RlvRestrictionType`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvRestrictionType;
impl RlvRestrictionType {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvRestrictionType";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvService`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvService;
impl RlvService {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvService";
pub const CSHARP_KIND: &'static str = "class";
}
/// `class` shim for C# `LibreMetaverse.RLV.RlvSharedFolder`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvSharedFolder;
impl RlvSharedFolder {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvSharedFolder";
pub const CSHARP_KIND: &'static str = "class";
}
/// `enum` shim for C# `LibreMetaverse.RLV.RlvWearableType`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RlvWearableType;
impl RlvWearableType {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.RlvWearableType";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `enum` shim for C# `LibreMetaverse.RLV.TouchLocation`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct TouchLocation;
impl TouchLocation {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.RLV.TouchLocation";
pub const CSHARP_KIND: &'static str = "enum";
}
pub mod event_arguments {
/// `class` shim for C# `LibreMetaverse.RLV.EventArguments.RestrictionUpdatedEventArgs`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct RestrictionUpdatedEventArgs;
impl RestrictionUpdatedEventArgs {
pub const CSHARP_NAME: &'static str =
"LibreMetaverse.RLV.EventArguments.RestrictionUpdatedEventArgs";
pub const CSHARP_KIND: &'static str = "class";
}
}

View File

@@ -0,0 +1,5 @@
//! Restrained Love Viewer support corresponding to `LibreMetaverse.RLV`.
mod generated;
pub use generated::*;