pub struct C;
Available on crate feature
headers
only.Trait Implementations§
source§impl HeaderLanguage for C
impl HeaderLanguage for C
fn emit_docs( &self, ctx: &mut dyn Definer, docs: &'_ [&'_ str], indent: &Indentation ) -> Result<()>
fn emit_simple_enum( &self, 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 C
impl RefUnwindSafe for C
impl Send for C
impl Sync for C
impl Unpin for C
impl UnwindSafe for C
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.