pub enum ArgOverride {
Nullable,
NullableSlice,
Slice,
LenForSlice(&'static str, usize),
StringAsBytes,
CharAsRustChar,
CharPtrNotString,
}
Variants§
Nullable
NullableSlice
Slice
LenForSlice(&'static str, usize)
StringAsBytes
Treat C++ string as a byte buffer (Vec<u8>
) instead of an actual string
CharAsRustChar
when C++ char needs to be represented as Rust char
CharPtrNotString
for the cases when char *
should not be treated as string, but as a pointer to a single char
Trait Implementations§
source§impl Clone for ArgOverride
impl Clone for ArgOverride
source§fn clone(&self) -> ArgOverride
fn clone(&self) -> ArgOverride
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArgOverride
impl Debug for ArgOverride
source§impl PartialEq for ArgOverride
impl PartialEq for ArgOverride
source§fn eq(&self, other: &ArgOverride) -> bool
fn eq(&self, other: &ArgOverride) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArgOverride
impl StructuralPartialEq for ArgOverride
Auto Trait Implementations§
impl RefUnwindSafe for ArgOverride
impl Send for ArgOverride
impl Sync for ArgOverride
impl Unpin for ArgOverride
impl UnwindSafe for ArgOverride
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