#[repr(C)]pub struct SkString {
pub fRec: sk_sp<SkString_Rec>,
}Fields§
§fRec: sk_sp<SkString_Rec>Implementations§
Source§impl SkString
impl SkString
pub unsafe fn equals(&self, arg1: *const SkString) -> bool
pub unsafe fn equals1(&self, text: *const c_char) -> bool
pub unsafe fn equals2(&self, text: *const c_char, len: usize) -> bool
pub unsafe fn data(&mut self) -> *mut c_char
pub unsafe fn reset(&mut self)
pub unsafe fn resize(&mut self, len: usize)
pub unsafe fn set(&mut self, text: *const c_char)
pub unsafe fn set1(&mut self, text: *const c_char, len: usize)
pub unsafe fn insert(&mut self, offset: usize, text: *const c_char)
pub unsafe fn insert1(&mut self, offset: usize, text: *const c_char, len: usize)
pub unsafe fn insertUnichar(&mut self, offset: usize, arg1: SkUnichar)
pub unsafe fn insertS32(&mut self, offset: usize, value: i32)
pub unsafe fn insertS64(&mut self, offset: usize, value: i64, minDigits: c_int)
pub unsafe fn insertU32(&mut self, offset: usize, value: u32)
pub unsafe fn insertU64(&mut self, offset: usize, value: u64, minDigits: c_int)
pub unsafe fn insertHex(&mut self, offset: usize, value: u32, minDigits: c_int)
pub unsafe fn insertScalar(&mut self, offset: usize, arg1: SkScalar)
pub unsafe fn printVAList(&mut self, format: *const c_char, arg1: va_list)
pub unsafe fn appendVAList(&mut self, format: *const c_char, arg1: va_list)
pub unsafe fn prependVAList(&mut self, format: *const c_char, arg1: va_list)
pub unsafe fn remove(&mut self, offset: usize, length: usize)
pub unsafe fn swap(&mut self, other: *mut SkString)
pub unsafe fn new() -> Self
pub unsafe fn new1(len: usize) -> Self
pub unsafe fn new2(text: *const c_char) -> Self
pub unsafe fn new3(text: *const c_char, len: usize) -> Self
pub unsafe fn new4(arg1: *const SkString) -> Self
pub unsafe fn new5(arg1: *mut SkString) -> Self
pub unsafe fn new6(arg1: *const std_string) -> Self
pub unsafe fn new7(arg1: std_string_view) -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkString
impl !RefUnwindSafe for SkString
impl !Send for SkString
impl !Sync for SkString
impl Unpin for SkString
impl UnsafeUnpin for SkString
impl UnwindSafe for SkString
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