#[repr(C)]pub struct RString__bindgen_ty_1__bindgen_ty_1 {
pub len: c_long,
pub ptr: *mut c_char,
pub aux: RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
}Expand description
Fields§
§len: c_longLength of the string, not including terminating NUL character.
§@note This is in bytes.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
ptr: *mut c_char§Pointer to the contents of the string. In the old days each string had dedicated memory regions. That is no longer true today, but there still are strings of such properties. This field could be used to point such things.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
aux: RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
Trait Implementations§
Source§impl Clone for RString__bindgen_ty_1__bindgen_ty_1
impl Clone for RString__bindgen_ty_1__bindgen_ty_1
Source§fn clone(&self) -> RString__bindgen_ty_1__bindgen_ty_1
fn clone(&self) -> RString__bindgen_ty_1__bindgen_ty_1
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RString__bindgen_ty_1__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for RString__bindgen_ty_1__bindgen_ty_1
impl RefUnwindSafe for RString__bindgen_ty_1__bindgen_ty_1
impl !Send for RString__bindgen_ty_1__bindgen_ty_1
impl !Sync for RString__bindgen_ty_1__bindgen_ty_1
impl Unpin for RString__bindgen_ty_1__bindgen_ty_1
impl UnwindSafe for RString__bindgen_ty_1__bindgen_ty_1
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)