#[repr(C)]pub struct XilaString {
pub data: *const c_char,
pub length: usize,
}Expand description
UTF-8 bytes, not NUL-terminated. A null data pointer is valid only at length zero.
Fields§
§data: *const c_char§length: usizeAuto Trait Implementations§
impl Freeze for XilaString
impl RefUnwindSafe for XilaString
impl !Send for XilaString
impl !Sync for XilaString
impl Unpin for XilaString
impl UnsafeUnpin for XilaString
impl UnwindSafe for XilaString
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