pub struct CSharp;
Available on crate feature
headers
only.Trait Implementations
sourceimpl HeaderLanguage for CSharp
impl HeaderLanguage for CSharp
fn emit_docs(
&self,
ctx: &mut dyn Definer,
docs: &'_ [&'_ str],
indent: &Indentation
) -> Result<()>
fn emit_simple_enum(
self: &CSharp,
ctx: &mut dyn Definer,
docs: &'_ [&'_ str],
self_ty: &dyn PhantomCType,
backing_integer: Option<&dyn PhantomCType>,
variants: &[EnumVariant<'_>]
) -> Result<()>
fn emit_struct(
&self,
ctx: &mut dyn Definer,
docs: &'_ [&'_ str],
self_ty: &dyn PhantomCType,
fields: &[StructField<'_>]
) -> Result<()>
fn emit_opaque_type(
&self,
ctx: &mut dyn Definer,
docs: &'_ [&'_ str],
self_ty: &dyn PhantomCType
) -> Result<()>
fn emit_function(
&self,
ctx: &mut dyn Definer,
docs: &'_ [&'_ str],
fname: &str,
args: &[FunctionArg<'_>],
ret_ty: &dyn PhantomCType
) -> Result<()>
fn emit_constant(
&self,
ctx: &mut dyn Definer,
docs: &'_ [&'_ str],
name: &str,
ty: &dyn PhantomCType,
value: &dyn Debug
) -> Result<()>
fn language_name(&self) -> &'static str
Auto Trait Implementations
impl RefUnwindSafe for CSharp
impl Send for CSharp
impl Sync for CSharp
impl Unpin for CSharp
impl UnwindSafe for CSharp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CompatExt for T
impl<T> CompatExt for T
sourceimpl<T> FitForCBox for T
impl<T> FitForCBox for T
type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.sourceimpl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
sourceimpl<T> UpcastAny for Twhere
T: 'static,
impl<T> UpcastAny for Twhere
T: 'static,
sourcefn upcast_any(&self) -> &(dyn Any + 'static)
fn upcast_any(&self) -> &(dyn Any + 'static)
Available on crate feature
headers
only.