[−][src]Struct skia_bindings::SkString
Fields
fRec: sk_sp<SkString_Rec>
Methods
impl SkString
[src]
pub unsafe fn isEmpty(&self) -> bool
[src]
pub unsafe fn size(&self) -> usize
[src]
pub unsafe fn c_str(&self) -> *const c_char
[src]
pub unsafe fn equals(&self, arg1: *const SkString) -> bool
[src]
pub unsafe fn equals1(&self, text: *const c_char) -> bool
[src]
pub unsafe fn equals2(&self, text: *const c_char, len: usize) -> bool
[src]
pub unsafe fn startsWith(&self, prefixStr: *const c_char) -> bool
[src]
pub unsafe fn startsWith1(&self, prefixChar: c_char) -> bool
[src]
pub unsafe fn endsWith(&self, suffixStr: *const c_char) -> bool
[src]
pub unsafe fn endsWith1(&self, suffixChar: c_char) -> bool
[src]
pub unsafe fn contains(&self, substring: *const c_char) -> bool
[src]
pub unsafe fn contains1(&self, subchar: c_char) -> bool
[src]
pub unsafe fn find(&self, substring: *const c_char) -> c_int
[src]
pub unsafe fn findLastOf(&self, subchar: c_char) -> c_int
[src]
pub unsafe fn writable_str(&mut self) -> *mut c_char
[src]
pub unsafe fn reset(&mut self)
[src]
pub unsafe fn resize(&mut self, len: usize)
[src]
pub unsafe fn set(&mut self, src: *const SkString)
[src]
pub unsafe fn set1(&mut self, text: *const c_char)
[src]
pub unsafe fn set2(&mut self, text: *const c_char, len: usize)
[src]
pub unsafe fn insert(&mut self, offset: usize, src: *const SkString)
[src]
pub unsafe fn insert1(&mut self, offset: usize, text: *const c_char)
[src]
pub unsafe fn insert2(&mut self, offset: usize, text: *const c_char, len: usize)
[src]
pub unsafe fn insertUnichar(&mut self, offset: usize, arg1: SkUnichar)
[src]
pub unsafe fn insertS32(&mut self, offset: usize, value: i32)
[src]
pub unsafe fn insertS64(&mut self, offset: usize, value: i64, minDigits: c_int)
[src]
pub unsafe fn insertU32(&mut self, offset: usize, value: u32)
[src]
pub unsafe fn insertU64(&mut self, offset: usize, value: u64, minDigits: c_int)
[src]
pub unsafe fn insertHex(&mut self, offset: usize, value: u32, minDigits: c_int)
[src]
pub unsafe fn insertScalar(&mut self, offset: usize, arg1: SkScalar)
[src]
pub unsafe fn append(&mut self, str: *const SkString)
[src]
pub unsafe fn append1(&mut self, text: *const c_char)
[src]
pub unsafe fn append2(&mut self, text: *const c_char, len: usize)
[src]
pub unsafe fn appendUnichar(&mut self, uni: SkUnichar)
[src]
pub unsafe fn appendS32(&mut self, value: i32)
[src]
pub unsafe fn appendS64(&mut self, value: i64, minDigits: c_int)
[src]
pub unsafe fn appendU32(&mut self, value: u32)
[src]
pub unsafe fn appendU64(&mut self, value: u64, minDigits: c_int)
[src]
pub unsafe fn appendHex(&mut self, value: u32, minDigits: c_int)
[src]
pub unsafe fn appendScalar(&mut self, value: SkScalar)
[src]
pub unsafe fn prepend(&mut self, str: *const SkString)
[src]
pub unsafe fn prepend1(&mut self, text: *const c_char)
[src]
pub unsafe fn prepend2(&mut self, text: *const c_char, len: usize)
[src]
pub unsafe fn prependUnichar(&mut self, uni: SkUnichar)
[src]
pub unsafe fn prependS32(&mut self, value: i32)
[src]
pub unsafe fn prependS64(&mut self, value: i32, minDigits: c_int)
[src]
pub unsafe fn prependHex(&mut self, value: u32, minDigits: c_int)
[src]
pub unsafe fn prependScalar(&mut self, value: SkScalar)
[src]
pub unsafe fn appendVAList(
&mut self,
format: *const c_char,
arg1: *mut __va_list_tag
)
[src]
&mut self,
format: *const c_char,
arg1: *mut __va_list_tag
)
pub unsafe fn prependVAList(
&mut self,
format: *const c_char,
arg1: *mut __va_list_tag
)
[src]
&mut self,
format: *const c_char,
arg1: *mut __va_list_tag
)
pub unsafe fn remove(&mut self, offset: usize, length: usize)
[src]
pub unsafe fn swap(&mut self, other: *mut SkString)
[src]
pub unsafe fn new() -> Self
[src]
pub unsafe fn new1(len: usize) -> Self
[src]
pub unsafe fn new2(text: *const c_char) -> Self
[src]
pub unsafe fn new3(text: *const c_char, len: usize) -> Self
[src]
pub unsafe fn new4(arg1: *const SkString) -> Self
[src]
pub unsafe fn new5(arg1: *mut SkString) -> Self
[src]
pub unsafe fn destruct(&mut self)
[src]
Trait Implementations
Auto Trait Implementations
impl !Sync for SkString
impl !Send for SkString
impl Unpin for SkString
impl !RefUnwindSafe for SkString
impl !UnwindSafe for SkString
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,