#[repr(C)]
pub union relopt_value__bindgen_ty_1 {
pub bool_val: bool,
pub int_val: c_int,
pub real_val: f64,
pub enum_val: c_int,
pub string_val: *mut c_char,
}
Fields
bool_val: bool
int_val: c_int
real_val: f64
enum_val: c_int
string_val: *mut c_char
Trait Implementations
sourceimpl Clone for relopt_value__bindgen_ty_1
impl Clone for relopt_value__bindgen_ty_1
sourcefn clone(&self) -> relopt_value__bindgen_ty_1
fn clone(&self) -> relopt_value__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for relopt_value__bindgen_ty_1
impl Default for relopt_value__bindgen_ty_1
impl Copy for relopt_value__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for relopt_value__bindgen_ty_1
impl !Send for relopt_value__bindgen_ty_1
impl !Sync for relopt_value__bindgen_ty_1
impl Unpin for relopt_value__bindgen_ty_1
impl UnwindSafe for relopt_value__bindgen_ty_1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more