#[repr(C)]pub struct Clay_StringSlice {
pub length: i32,
pub chars: *const c_char,
pub baseChars: *const c_char,
}Fields§
§length: i32§chars: *const c_char§baseChars: *const c_charTrait Implementations§
Source§impl Clone for Clay_StringSlice
impl Clone for Clay_StringSlice
Source§fn clone(&self) -> Clay_StringSlice
fn clone(&self) -> Clay_StringSlice
Returns a duplicate 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 Clay_StringSlice
impl Debug for Clay_StringSlice
Source§impl From<Clay_StringSlice> for &str
impl From<Clay_StringSlice> for &str
Source§fn from(value: Clay_StringSlice) -> Self
fn from(value: Clay_StringSlice) -> Self
Converts to this type from the input type.
impl Copy for Clay_StringSlice
Auto Trait Implementations§
impl Freeze for Clay_StringSlice
impl RefUnwindSafe for Clay_StringSlice
impl !Send for Clay_StringSlice
impl !Sync for Clay_StringSlice
impl Unpin for Clay_StringSlice
impl UnwindSafe for Clay_StringSlice
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