pub enum CArg<'a> {
String(&'a str),
Ident(&'a str),
Int32(i32),
Int64(i64),
Float(f32),
Double(f64),
Bool(bool),
Char(char),
}Expand description
§The C Argument.
Variants§
String(&'a str)
The String argument.
Ident(&'a str)
The identifier argument.
Int32(i32)
The i32 argument.
Int64(i64)
The i64 argument.
Float(f32)
The float argument.
Double(f64)
The ‘double’ argument.
Bool(bool)
The boolean argument.
Char(char)
The character argument.
Auto Trait Implementations§
impl<'a> Freeze for CArg<'a>
impl<'a> RefUnwindSafe for CArg<'a>
impl<'a> Send for CArg<'a>
impl<'a> Sync for CArg<'a>
impl<'a> Unpin for CArg<'a>
impl<'a> UnwindSafe for CArg<'a>
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