MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / ToCSharpIdent

Interface ToCSharpIdent

crates/csharp/src/csharp_ident.rs:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use heck::{ToLowerCamelCase, ToUpperCamelCase};
2
3pub(crate) trait ToCSharpIdent: ToOwned {
4 fn csharp_keywords() -> &'static [&'static str];
5 fn to_csharp_ident(&self) -> Self::Owned;
6 fn to_csharp_ident_upper(&self) -> Self::Owned;
7}
8
9impl ToCSharpIdent for str {
10 // Source: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/

Callers

nothing calls this directly

Implementers 1

csharp_ident.rscrates/csharp/src/csharp_ident.rs

Calls

no outgoing calls

Tested by

no test coverage detected