pub struct CSharp;
Available on crate feature
headers
only.Trait Implementations§
source§impl 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 Freeze for CSharp
impl RefUnwindSafe for CSharp
impl Send for CSharp
impl Sync for CSharp
impl Unpin for CSharp
impl UnwindSafe for CSharp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> FitForCBox for T
impl<T> FitForCBox for T
§type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.