Files
MetaCrate/crates/libremetaverse-structured-data/src/generated.rs
Chili Palmer c9a1170a27
Some checks failed
API and SemVer surface / api-surface (push) Failing after 1m34s
Native code generation / deterministic (push) Has been cancelled
Concurrency and resource soak audit / soak (push) Has been cancelled
Documentation / documentation (push) Has been cancelled
performance evidence / audit (push) Has been cancelled
First release candidate / non-fuzz-release-gate (push) Has been cancelled
Release platform and feature matrix / audit (push) Has been cancelled
Release platform and feature matrix / matrix (false, linux-stable-minimal, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, macos-stable-portable, x86_64-apple-darwin, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, windows-stable-portable, x86_64-pc-windows-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-msrv-portable, x86_64-unknown-linux-gnu, 1.96.0) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-default, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-features, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-release-surface, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Dependency and supply-chain audit / audit (push) Has been cancelled
Native release artifact audit / audit (push) Has been cancelled
Imaging and meshing gate / native (push) Failing after 53s
JPEG 2000 feature / linux (push) Successful in 2m49s
Native Rust workspace compile / compile (push) Failing after 59s
Skia feature / linux (push) Has been cancelled
Complete first release candidate audit (#107)
2026-08-12 14:44:28 +00:00

1845 lines
116 KiB
Rust

// @generated by tools/generate_api_shims.py; do not edit by hand.
#![allow(clippy::missing_errors_doc)]
#![allow(clippy::must_use_candidate)]
#![allow(clippy::all, clippy::pedantic, dead_code, unused_variables)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
/// C# type: `T:LibreMetaverse.StructuredData.OSD`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSD` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSD.#ctor`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD()`.
/// Mapping contract: ownership `none`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSD.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSD.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsColor4`.
///
/// C# signature: `LibreMetaverse.Color4 LibreMetaverse.StructuredData.OSD.AsColor4()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsDate`.
///
/// C# signature: `System.DateTime LibreMetaverse.StructuredData.OSD.AsDate()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsInteger`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSD.AsInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSD.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsQuaternion`.
///
/// C# signature: `LibreMetaverse.Quaternion LibreMetaverse.StructuredData.OSD.AsQuaternion()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsReal`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSD.AsReal()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSD.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSD.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSD.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsUUID`.
///
/// C# signature: `LibreMetaverse.UUID LibreMetaverse.StructuredData.OSD.AsUUID()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsUri`.
///
/// C# signature: `System.Uri LibreMetaverse.StructuredData.OSD.AsUri()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsVector2`.
///
/// C# signature: `LibreMetaverse.Vector2 LibreMetaverse.StructuredData.OSD.AsVector2()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsVector3`.
///
/// C# signature: `LibreMetaverse.Vector3 LibreMetaverse.StructuredData.OSD.AsVector3()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsVector3d`.
///
/// C# signature: `LibreMetaverse.Vector3d LibreMetaverse.StructuredData.OSD.AsVector3d()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.AsVector4`.
///
/// C# signature: `LibreMetaverse.Vector4 LibreMetaverse.StructuredData.OSD.AsVector4()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.DeserializeMembers(System.Object@,LibreMetaverse.StructuredData.OSDMap)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSD.DeserializeMembers(ref System.Object& obj, LibreMetaverse.StructuredData.OSDMap serialized)`.
/// Mapping contract: ownership `mutable_borrow,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromBinary(System.Byte[])`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromBinary(System.Byte[] value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromBoolean(System.Boolean)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromBoolean(System.Boolean value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromColor4(LibreMetaverse.Color4)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromColor4(LibreMetaverse.Color4 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromDate(System.DateTime)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromDate(System.DateTime value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromInteger(System.Byte)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromInteger(System.Byte value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromInteger(System.Int16)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromInteger(System.Int16 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromInteger(System.Int32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromInteger(System.Int32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromInteger(System.SByte)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromInteger(System.SByte value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromInteger(System.UInt16)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromInteger(System.UInt16 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromInteger(System.UInt32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromInteger(System.UInt32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromLong(System.Int64)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromLong(System.Int64 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromObject(System.Object)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromObject(System.Object value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromQuaternion(LibreMetaverse.Quaternion)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromQuaternion(LibreMetaverse.Quaternion value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromReal(System.Double)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromReal(System.Double value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromReal(System.Single)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromReal(System.Single value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromString(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromString(System.String value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromUInteger(System.UInt32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromUInteger(System.UInt32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromULong(System.UInt64)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromULong(System.UInt64 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromUUID(LibreMetaverse.UUID)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromUUID(LibreMetaverse.UUID value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromUri(System.Uri)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromUri(System.Uri value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromVector2(LibreMetaverse.Vector2)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromVector2(LibreMetaverse.Vector2 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromVector3(LibreMetaverse.Vector3)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromVector3(LibreMetaverse.Vector3 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromVector3d(LibreMetaverse.Vector3d)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromVector3d(LibreMetaverse.Vector3d value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.FromVector4(LibreMetaverse.Vector4)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.FromVector4(LibreMetaverse.Vector4 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.SerializeMembers(System.Object)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDMap LibreMetaverse.StructuredData.OSD.SerializeMembers(System.Object obj)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.ToObject(System.Type,LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Object LibreMetaverse.StructuredData.OSD.ToObject(System.Type type, LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSD.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Color4)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Color4 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Quaternion)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Quaternion value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.Color4`.
///
/// C# signature: `LibreMetaverse.Color4 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.Quaternion`.
///
/// C# signature: `LibreMetaverse.Quaternion LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.UUID`.
///
/// C# signature: `LibreMetaverse.UUID LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.Vector2`.
///
/// C# signature: `LibreMetaverse.Vector2 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.Vector3`.
///
/// C# signature: `LibreMetaverse.Vector3 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.Vector3d`.
///
/// C# signature: `LibreMetaverse.Vector3d LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~LibreMetaverse.Vector4`.
///
/// C# signature: `LibreMetaverse.Vector4 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Boolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Byte[]`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.DateTime`.
///
/// C# signature: `System.DateTime LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Double`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Int32`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Int64`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Single`.
///
/// C# signature: `System.Single LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.String`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.UInt32`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.UInt64`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD)~System.Uri`.
///
/// C# signature: `System.Uri LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.StructuredData.OSD value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name_with_stable_id`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.UUID)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.UUID value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector2)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector2 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector3)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector3 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector3d)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector3d value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector4)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(LibreMetaverse.Vector4 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Boolean)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Boolean value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Byte)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Byte value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Byte[])~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Byte[] value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.DateTime)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.DateTime value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Double)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Double value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Int16)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Int16 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Int32)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Int32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Int64)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Int64 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.SByte)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.SByte value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Single)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Single value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.String)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.String value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.UInt16)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.UInt16 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.UInt32)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.UInt32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.UInt64)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.UInt64 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSD.op_Implicit(System.Uri)~LibreMetaverse.StructuredData.OSD`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSD.op_Implicit(System.Uri value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `infallible_placeholder`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSD.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSD.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSD;
/// C# type: `T:LibreMetaverse.StructuredData.OSDArray`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDArray` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.#ctor`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDArray()`.
/// Mapping contract: ownership `none`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.#ctor(System.Collections.Generic.List{LibreMetaverse.StructuredData.OSD})`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDArray(System.Collections.Generic.List<LibreMetaverse.StructuredData.OSD> value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.#ctor(System.Int32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDArray(System.Int32 capacity)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Add(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDArray.Add(LibreMetaverse.StructuredData.OSD llsd)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDArray.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDArray.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsColor4`.
///
/// C# signature: `LibreMetaverse.Color4 LibreMetaverse.StructuredData.OSDArray.AsColor4()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSDArray.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsQuaternion`.
///
/// C# signature: `LibreMetaverse.Quaternion LibreMetaverse.StructuredData.OSDArray.AsQuaternion()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSDArray.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSDArray.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsVector2`.
///
/// C# signature: `LibreMetaverse.Vector2 LibreMetaverse.StructuredData.OSDArray.AsVector2()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsVector3`.
///
/// C# signature: `LibreMetaverse.Vector3 LibreMetaverse.StructuredData.OSDArray.AsVector3()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsVector3d`.
///
/// C# signature: `LibreMetaverse.Vector3d LibreMetaverse.StructuredData.OSDArray.AsVector3d()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.AsVector4`.
///
/// C# signature: `LibreMetaverse.Vector4 LibreMetaverse.StructuredData.OSDArray.AsVector4()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Clear`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDArray.Clear()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Contains(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDArray.Contains(LibreMetaverse.StructuredData.OSD llsd)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Contains(System.String)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDArray.Contains(System.String element)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDArray.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.CopyTo(LibreMetaverse.StructuredData.OSD[],System.Int32)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDArray.CopyTo(LibreMetaverse.StructuredData.OSD[] array, System.Int32 index)`.
/// Mapping contract: ownership `shared_self,mutable_borrow,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.IndexOf(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDArray.IndexOf(LibreMetaverse.StructuredData.OSD item)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Insert(System.Int32,LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDArray.Insert(System.Int32 index, LibreMetaverse.StructuredData.OSD item)`.
/// Mapping contract: ownership `shared_self,owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.Remove(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDArray.Remove(LibreMetaverse.StructuredData.OSD llsd)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.RemoveAt(System.Int32)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDArray.RemoveAt(System.Int32 index)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.ToArrayList`.
///
/// C# signature: `System.Collections.ArrayList LibreMetaverse.StructuredData.OSDArray.ToArrayList()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDArray.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDArray.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDArray.Count`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDArray.Count`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDArray.IsReadOnly`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDArray.IsReadOnly`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDArray.Item(System.Int32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDArray.Item`.
/// Mapping contract: ownership `shared_or_mutable_self,owned`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDArray.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDArray.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDArray;
/// C# type: `T:LibreMetaverse.StructuredData.OSDBinary`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDBinary` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.#ctor(System.Byte[])`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDBinary(System.Byte[] value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.#ctor(System.Int64)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDBinary(System.Int64 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.#ctor(System.UInt32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDBinary(System.UInt32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.#ctor(System.UInt64)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDBinary(System.UInt64 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDBinary.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSDBinary.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDBinary.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSDBinary.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSDBinary.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDBinary.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBinary.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDBinary.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDBinary.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDBinary.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDBinary;
/// C# type: `T:LibreMetaverse.StructuredData.OSDBoolean`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDBoolean` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.#ctor(System.Boolean)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDBoolean(System.Boolean value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDBoolean.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDBoolean.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.AsInteger`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDBoolean.AsInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.AsReal`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSDBoolean.AsReal()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDBoolean.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDBoolean.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDBoolean.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDBoolean.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDBoolean.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDBoolean.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDBoolean;
/// C# type: `T:LibreMetaverse.StructuredData.OSDDate`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDDate` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.#ctor(System.DateTime)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDDate(System.DateTime dt)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDDate.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsDate`.
///
/// C# signature: `System.DateTime LibreMetaverse.StructuredData.OSDDate.AsDate()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsInteger`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDDate.AsInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSDDate.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDDate.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSDDate.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSDDate.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDDate.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDDate.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDDate.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDDate.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDDate.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDDate;
/// C# type: `T:LibreMetaverse.StructuredData.OSDException`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDException` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDException.#ctor`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDException()`.
/// Mapping contract: ownership `none`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDException.#ctor(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDException(System.String message)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDException.#ctor(System.String,System.Exception)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDException(System.String message, System.Exception innerException)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub use crate::model::OSDException;
/// C# type: `T:LibreMetaverse.StructuredData.OSDFormat`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDFormat` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `F:LibreMetaverse.StructuredData.OSDFormat.Binary`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDFormat LibreMetaverse.StructuredData.OSDFormat.Binary`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDFormat.Json`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDFormat LibreMetaverse.StructuredData.OSDFormat.Json`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDFormat.Xml`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDFormat LibreMetaverse.StructuredData.OSDFormat.Xml`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
pub use crate::model::OSDFormat;
/// C# type: `T:LibreMetaverse.StructuredData.OSDInteger`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDInteger` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.#ctor(System.Int32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDInteger(System.Int32 value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDInteger.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDInteger.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsInteger`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDInteger.AsInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSDInteger.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsReal`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSDInteger.AsReal()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDInteger.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSDInteger.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSDInteger.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDInteger.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDInteger.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDInteger.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDInteger.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDInteger.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDInteger;
/// C# type: `T:LibreMetaverse.StructuredData.OSDLlsdXml`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDLlsdXml` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `F:LibreMetaverse.StructuredData.OSDLlsdXml.value`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDLlsdXml.value`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDLlsdXml.#ctor(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDLlsdXml(System.String value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDLlsdXml.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDLlsdXml.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDLlsdXml.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDLlsdXml.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDLlsdXml.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDLlsdXml.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDLlsdXml.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDLlsdXml.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDLlsdXml.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDLlsdXml.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDLlsdXml;
/// C# type: `T:LibreMetaverse.StructuredData.OSDMap`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDMap` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.#ctor`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDMap()`.
/// Mapping contract: ownership `none`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.#ctor(System.Collections.Generic.Dictionary{System.String,LibreMetaverse.StructuredData.OSD})`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDMap(System.Collections.Generic.Dictionary<System.String, LibreMetaverse.StructuredData.OSD> value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.#ctor(System.Int32)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDMap(System.Int32 capacity)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Add(System.Collections.Generic.KeyValuePair{System.String,LibreMetaverse.StructuredData.OSD})`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDMap.Add(System.Collections.Generic.KeyValuePair<System.String, LibreMetaverse.StructuredData.OSD> kvp)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Add(System.String,LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDMap.Add(System.String key, LibreMetaverse.StructuredData.OSD llsd)`.
/// Mapping contract: ownership `shared_self,owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Clear`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDMap.Clear()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Contains(System.Collections.Generic.KeyValuePair{System.String,LibreMetaverse.StructuredData.OSD})`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.Contains(System.Collections.Generic.KeyValuePair<System.String, LibreMetaverse.StructuredData.OSD> kvp)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.ContainsKey(System.String)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.ContainsKey(System.String key)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDMap.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.CopyTo(System.Collections.Generic.KeyValuePair{System.String,LibreMetaverse.StructuredData.OSD}[],System.Int32)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDMap.CopyTo(System.Collections.Generic.KeyValuePair<System.String, LibreMetaverse.StructuredData.OSD>[] array, System.Int32 index)`.
/// Mapping contract: ownership `shared_self,mutable_borrow,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.GetEnumerator`.
///
/// C# signature: `System.Collections.IDictionaryEnumerator LibreMetaverse.StructuredData.OSDMap.GetEnumerator()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Remove(System.Collections.Generic.KeyValuePair{System.String,LibreMetaverse.StructuredData.OSD})`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.Remove(System.Collections.Generic.KeyValuePair<System.String, LibreMetaverse.StructuredData.OSD> kvp)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.Remove(System.String)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.Remove(System.String key)`.
/// Mapping contract: ownership `shared_self,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.ToHashtable`.
///
/// C# signature: `System.Collections.Hashtable LibreMetaverse.StructuredData.OSDMap.ToHashtable()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDMap.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDMap.TryGetValue(System.String,LibreMetaverse.StructuredData.OSD@)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.TryGetValue(System.String key, out LibreMetaverse.StructuredData.OSD& llsd)`.
/// Mapping contract: ownership `shared_self,owned,mutable_output`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDMap.Count`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDMap.Count`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDMap.IsReadOnly`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDMap.IsReadOnly`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDMap.Item(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDMap.Item`.
/// Mapping contract: ownership `shared_or_mutable_self,owned`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDMap.Keys`.
///
/// C# signature: `System.Collections.Generic.ICollection<System.String> LibreMetaverse.StructuredData.OSDMap.Keys`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDMap.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDMap.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDMap.Values`.
///
/// C# signature: `System.Collections.Generic.ICollection<LibreMetaverse.StructuredData.OSD> LibreMetaverse.StructuredData.OSDMap.Values`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDMap;
/// C# type: `T:LibreMetaverse.StructuredData.OSDParser`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDParser` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
pub use crate::model::OSDParser;
impl OSDParser {
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.BufferCharactersEqual(System.IO.StringReader,System.Char[],System.Int32)`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDParser.BufferCharactersEqual(System.IO.StringReader reader, System.Char[] buffer, System.Int32 offset)`.
/// Mapping contract: ownership `owned,owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn buffer_characters_equal(
reader: libremetaverse_types::compat::StringReader,
buffer: Vec<libremetaverse_types::compat::Utf16CodeUnit>,
offset: i32,
) -> Result<i32, crate::Error> {
/* reviewed native compatibility body */
crate::notation::buffer_characters_equal(reader, buffer, offset)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.ConsumeBytes(System.IO.Stream,System.Int32)`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDParser.ConsumeBytes(System.IO.Stream stream, System.Int32 consumeBytes)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn consume_bytes(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
consume_bytes: i32,
) -> Result<Vec<u8>, crate::Error> {
/* reviewed native compatibility body */
crate::binary::consume_bytes(stream, consume_bytes)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.Deserialize(System.Byte[])`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.Deserialize(System.Byte[] data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_with_bytes(
data: Vec<u8>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::dispatch::deserialize_bytes(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.Deserialize(System.IO.Stream)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.Deserialize(System.IO.Stream stream)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_with_stream(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::dispatch::deserialize_stream(stream)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.Deserialize(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.Deserialize(System.String data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_with_string(
data: String,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::dispatch::deserialize_string(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeJson(System.IO.Stream)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeJson(System.IO.Stream json)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_json_with_stream(
json: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::json_codec::deserialize_stream(json)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeJson(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeJson(System.String json)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_json_with_string(
json: String,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::json_codec::deserialize_string(json)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDBinary(System.Byte[])`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDBinary(System.Byte[] binaryData)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_binary_with_bytes(
binary_data: Vec<u8>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::binary::deserialize_bytes(binary_data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDBinary(System.IO.Stream)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDBinary(System.IO.Stream stream)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_binary_with_stream(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::binary::deserialize_stream(stream)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDNotation(System.IO.StringReader)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDNotation(System.IO.StringReader reader)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_notation_with_string_reader(
reader: libremetaverse_types::compat::StringReader,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::notation::deserialize_reader(reader)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDNotation(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDNotation(System.String notationData)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_notation_with_string(
notation_data: String,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::notation::deserialize_string(notation_data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDProtobuf(System.Byte[])`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDProtobuf(System.Byte[] data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_protobuf_with_bytes(
data: Vec<u8>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::protobuf::deserialize_bytes(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDProtobuf(System.IO.Stream)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDProtobuf(System.IO.Stream stream)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_protobuf_with_stream(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::protobuf::deserialize_stream(stream)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Byte[])`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Byte[] xmlData)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_xml_with_bytes(
xml_data: Vec<u8>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::deserialize_bytes(xml_data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.IO.Stream)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.IO.Stream xmlStream)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_xml_with_stream(
xml_stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::deserialize_stream(xml_stream)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.String xmlData)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_xml_with_string(
xml_data: String,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::deserialize_string(xml_data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Xml.XmlReader)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDParser.DeserializeLLSDXml(System.Xml.XmlReader xmlData)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn deserialize_llsd_xml_with_xml_reader(
xml_data: libremetaverse_structured_data::xml::Reader,
) -> Result<libremetaverse_structured_data::OSD, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::deserialize_reader(xml_data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.EscapeCharacter(System.String,System.Char)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.EscapeCharacter(System.String s, System.Char c)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn escape_character(
s: String,
c: libremetaverse_types::compat::Utf16CodeUnit,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::notation::escape_character(s, c)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.FindByte(System.IO.Stream,System.Byte)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDParser.FindByte(System.IO.Stream stream, System.Byte toFind)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn find_byte(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
to_find: u8,
) -> Result<bool, crate::Error> {
/* reviewed native compatibility body */
crate::binary::find_byte(stream, to_find)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.FindString(System.IO.Stream,System.String)`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDParser.FindString(System.IO.Stream stream, System.String toFind)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn find_string(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
to_find: String,
) -> Result<bool, crate::Error> {
/* reviewed native compatibility body */
crate::binary::find_string(stream, to_find)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.GetLengthInBrackets(System.IO.StringReader)`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDParser.GetLengthInBrackets(System.IO.StringReader reader)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn get_length_in_brackets(
reader: libremetaverse_types::compat::StringReader,
) -> Result<i32, crate::Error> {
/* reviewed native compatibility body */
crate::notation::get_length_in_brackets(reader)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.GetStringDelimitedBy(System.IO.StringReader,System.Char)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.GetStringDelimitedBy(System.IO.StringReader reader, System.Char delimiter)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn get_string_delimited_by(
reader: libremetaverse_types::compat::StringReader,
delimiter: libremetaverse_types::compat::Utf16CodeUnit,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::notation::get_string_delimited_by(reader, delimiter)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.HostToNetworkIntBytes(System.Int32)`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDParser.HostToNetworkIntBytes(System.Int32 intHostEnd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn host_to_network_int_bytes(int_host_end: i32) -> Result<Vec<u8>, crate::Error> {
/* reviewed native compatibility body */
crate::binary::host_to_network_int_bytes(int_host_end)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.NetworkToHostDouble(System.Byte[])`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSDParser.NetworkToHostDouble(System.Byte[] binaryNetEnd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn network_to_host_double(binary_net_end: Vec<u8>) -> Result<f64, crate::Error> {
/* reviewed native compatibility body */
crate::binary::network_to_host_double(binary_net_end)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.NetworkToHostInt(System.Byte[])`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDParser.NetworkToHostInt(System.Byte[] binaryNetEnd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn network_to_host_int(binary_net_end: Vec<u8>) -> Result<i32, crate::Error> {
/* reviewed native compatibility body */
crate::binary::network_to_host_int(binary_net_end)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.PeekAndSkipWhitespace(System.IO.StringReader)`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDParser.PeekAndSkipWhitespace(System.IO.StringReader reader)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn peek_and_skip_whitespace(
reader: libremetaverse_types::compat::StringReader,
) -> Result<i32, crate::Error> {
/* reviewed native compatibility body */
crate::notation::peek_and_skip_whitespace(reader)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.ReadAndSkipWhitespace(System.IO.StringReader)`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDParser.ReadAndSkipWhitespace(System.IO.StringReader reader)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn read_and_skip_whitespace(
reader: libremetaverse_types::compat::StringReader,
) -> Result<i32, crate::Error> {
/* reviewed native compatibility body */
crate::notation::read_and_skip_whitespace(reader)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeJsonString(LibreMetaverse.StructuredData.OSD,System.Boolean)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.SerializeJsonString(LibreMetaverse.StructuredData.OSD osd, System.Boolean preserveDefaults = default)`.
/// Mapping contract: ownership `owned,optional_owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_json_string(
osd: libremetaverse_structured_data::OSD,
preserve_defaults: Option<bool>,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::json_codec::serialize(osd, preserve_defaults)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinary(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinary(LibreMetaverse.StructuredData.OSD osd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn serialize_llsd_binary_with_osd(
osd: libremetaverse_structured_data::OSD,
) -> Result<Vec<u8>, crate::Error> {
/* reviewed native compatibility body */
crate::binary::serialize(osd)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinary(LibreMetaverse.StructuredData.OSD,System.Boolean)`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinary(LibreMetaverse.StructuredData.OSD osd, System.Boolean prependHeader)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn serialize_llsd_binary_with_osd_boolean(
osd: libremetaverse_structured_data::OSD,
prepend_header: bool,
) -> Result<Vec<u8>, crate::Error> {
/* reviewed native compatibility body */
crate::binary::serialize_with_header(osd, prepend_header)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinaryStream(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.IO.MemoryStream LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinaryStream(LibreMetaverse.StructuredData.OSD data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn serialize_llsd_binary_stream_with_osd(
data: libremetaverse_structured_data::OSD,
) -> Result<std::io::Cursor<Vec<u8>>, crate::Error> {
/* reviewed native compatibility body */
crate::binary::serialize_stream(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinaryStream(LibreMetaverse.StructuredData.OSD,System.Boolean)`.
///
/// C# signature: `System.IO.MemoryStream LibreMetaverse.StructuredData.OSDParser.SerializeLLSDBinaryStream(LibreMetaverse.StructuredData.OSD data, System.Boolean prependHeader)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `descriptive_overload_name`; kind `method`.
pub fn serialize_llsd_binary_stream_with_osd_boolean(
data: libremetaverse_structured_data::OSD,
prepend_header: bool,
) -> Result<std::io::Cursor<Vec<u8>>, crate::Error> {
/* reviewed native compatibility body */
crate::binary::serialize_stream_with_header(data, prepend_header)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDInnerXmlString(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.SerializeLLSDInnerXmlString(LibreMetaverse.StructuredData.OSD data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_inner_xml_string(
data: libremetaverse_structured_data::OSD,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::serialize_inner(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotation(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotation(LibreMetaverse.StructuredData.OSD osd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_notation(
osd: libremetaverse_structured_data::OSD,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::notation::serialize(osd)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotationFormatted(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotationFormatted(LibreMetaverse.StructuredData.OSD osd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_notation_formatted(
osd: libremetaverse_structured_data::OSD,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::notation::serialize_formatted(osd)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotationStream(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.IO.StringWriter LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotationStream(LibreMetaverse.StructuredData.OSD osd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_notation_stream(
osd: libremetaverse_structured_data::OSD,
) -> Result<libremetaverse_types::compat::StringWriter, crate::Error> {
/* reviewed native compatibility body */
crate::notation::serialize_stream(osd)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotationStreamFormatted(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.IO.StringWriter LibreMetaverse.StructuredData.OSDParser.SerializeLLSDNotationStreamFormatted(LibreMetaverse.StructuredData.OSD osd)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_notation_stream_formatted(
osd: libremetaverse_structured_data::OSD,
) -> Result<libremetaverse_types::compat::StringWriter, crate::Error> {
/* reviewed native compatibility body */
crate::notation::serialize_stream_formatted(osd)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDProtobuf(LibreMetaverse.StructuredData.OSD,System.Boolean)`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDParser.SerializeLLSDProtobuf(LibreMetaverse.StructuredData.OSD osd, System.Boolean prependHeader = default)`.
/// Mapping contract: ownership `owned,optional_owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_protobuf(
osd: libremetaverse_structured_data::OSD,
prepend_header: Option<bool>,
) -> Result<Vec<u8>, crate::Error> {
/* reviewed native compatibility body */
crate::protobuf::serialize(osd, prepend_header)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDXmlBytes(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDParser.SerializeLLSDXmlBytes(LibreMetaverse.StructuredData.OSD data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_xml_bytes(
data: libremetaverse_structured_data::OSD,
) -> Result<Vec<u8>, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::serialize_bytes(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDXmlElement(System.Xml.XmlWriter,LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDParser.SerializeLLSDXmlElement(System.Xml.XmlWriter writer, LibreMetaverse.StructuredData.OSD data)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_xml_element(
writer: libremetaverse_structured_data::xml::Writer,
data: libremetaverse_structured_data::OSD,
) -> Result<(), crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::serialize_element(writer, data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SerializeLLSDXmlString(LibreMetaverse.StructuredData.OSD)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.SerializeLLSDXmlString(LibreMetaverse.StructuredData.OSD data)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn serialize_llsd_xml_string(
data: libremetaverse_structured_data::OSD,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::xml_codec::serialize_string(data)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.SkipWhiteSpace(System.IO.Stream)`.
///
/// C# signature: `System.Void LibreMetaverse.StructuredData.OSDParser.SkipWhiteSpace(System.IO.Stream stream)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn skip_white_space(
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
) -> Result<(), crate::Error> {
/* reviewed native compatibility body */
crate::binary::skip_whitespace(stream)
}
/// C# member: `M:LibreMetaverse.StructuredData.OSDParser.UnescapeCharacter(System.String,System.Char)`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDParser.UnescapeCharacter(System.String s, System.Char c)`.
/// Mapping contract: ownership `owned,owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
pub fn unescape_character(
s: String,
c: libremetaverse_types::compat::Utf16CodeUnit,
) -> Result<String, crate::Error> {
/* reviewed native compatibility body */
crate::notation::unescape_character(s, c)
}
}
/// C# type: `T:LibreMetaverse.StructuredData.OSDReal`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDReal` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.#ctor(System.Double)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDReal(System.Double value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDReal.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDReal.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsInteger`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDReal.AsInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSDReal.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsReal`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSDReal.AsReal()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDReal.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSDReal.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSDReal.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDReal.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDReal.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDReal.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDReal.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDReal.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDReal;
/// C# type: `T:LibreMetaverse.StructuredData.OSDString`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDString` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.#ctor(System.String)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDString(System.String value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDString.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDString.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsDate`.
///
/// C# signature: `System.DateTime LibreMetaverse.StructuredData.OSDString.AsDate()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsInteger`.
///
/// C# signature: `System.Int32 LibreMetaverse.StructuredData.OSDString.AsInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsLong`.
///
/// C# signature: `System.Int64 LibreMetaverse.StructuredData.OSDString.AsLong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsReal`.
///
/// C# signature: `System.Double LibreMetaverse.StructuredData.OSDString.AsReal()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDString.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsUInteger`.
///
/// C# signature: `System.UInt32 LibreMetaverse.StructuredData.OSDString.AsUInteger()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsULong`.
///
/// C# signature: `System.UInt64 LibreMetaverse.StructuredData.OSDString.AsULong()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsUUID`.
///
/// C# signature: `LibreMetaverse.UUID LibreMetaverse.StructuredData.OSDString.AsUUID()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.AsUri`.
///
/// C# signature: `System.Uri LibreMetaverse.StructuredData.OSDString.AsUri()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDString.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDString.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDString.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDString.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDString.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDString;
/// C# type: `T:LibreMetaverse.StructuredData.OSDType`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDType` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Array`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Array`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Binary`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Binary`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Boolean`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Boolean`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Date`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Date`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Integer`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Integer`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.LlsdXml`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.LlsdXml`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Map`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Map`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Real`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Real`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.String`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.String`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.URI`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.URI`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.UUID`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.UUID`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
/// C# member: `F:LibreMetaverse.StructuredData.OSDType.Unknown`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDType.Unknown`.
/// Mapping contract: ownership `owned_value`; async `sync`;
/// errors `none`; overload `direct_snake_case`; kind `direct`.
pub use crate::model::OSDType;
/// C# type: `T:LibreMetaverse.StructuredData.OSDUUID`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDUUID` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.#ctor(LibreMetaverse.UUID)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDUUID(LibreMetaverse.UUID value)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDUUID.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.AsBoolean`.
///
/// C# signature: `System.Boolean LibreMetaverse.StructuredData.OSDUUID.AsBoolean()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDUUID.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.AsUUID`.
///
/// C# signature: `LibreMetaverse.UUID LibreMetaverse.StructuredData.OSDUUID.AsUUID()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDUUID.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUUID.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDUUID.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDUUID.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDUUID.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDUUID;
/// C# type: `T:LibreMetaverse.StructuredData.OSDUri`.
///
/// Native Rust mapping of C# `LibreMetaverse.StructuredData.OSDUri` using decision
/// `native_metacrate_type`. See the [pinned C# source](https://github.com/cinderblocks/libremetaverse/tree/2aa70bb68513b39795da5d13c88f31b86e85a3ba).
/// C# member: `M:LibreMetaverse.StructuredData.OSDUri.#ctor(System.Uri)`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDUri(System.Uri uri)`.
/// Mapping contract: ownership `owned`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUri.AsBinary`.
///
/// C# signature: `System.Byte[] LibreMetaverse.StructuredData.OSDUri.AsBinary()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUri.AsString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDUri.AsString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUri.AsUri`.
///
/// C# signature: `System.Uri LibreMetaverse.StructuredData.OSDUri.AsUri()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUri.Copy`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSD LibreMetaverse.StructuredData.OSDUri.Copy()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `Result<_, crate::Error>`; overload `direct_snake_case`; kind `method`.
/// C# member: `M:LibreMetaverse.StructuredData.OSDUri.ToString`.
///
/// C# signature: `System.String LibreMetaverse.StructuredData.OSDUri.ToString()`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `method`.
/// C# member: `P:LibreMetaverse.StructuredData.OSDUri.Type`.
///
/// C# signature: `LibreMetaverse.StructuredData.OSDType LibreMetaverse.StructuredData.OSDUri.Type`.
/// Mapping contract: ownership `shared_self`; async `sync`;
/// errors `infallible_placeholder`; overload `direct_snake_case`; kind `accessor_methods`.
pub use crate::model::OSDUri;