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