#[repr(C)]pub struct UString {
pub _chars: *mut u32,
pub _len: c_uint,
pub _limit: c_uint,
}Fields§
§_chars: *mut u32§_len: c_uint§_limit: c_uintImplementations§
Source§impl UString
impl UString
pub unsafe fn SetFrom(&mut self, s: *const u32, len: c_uint)
pub unsafe fn SetFromBstr(&mut self, s: LPCOLESTR)
pub unsafe fn Add_Char(&mut self, c: c_char)
pub unsafe fn Add_Space(&mut self)
pub unsafe fn Add_Space_if_NotEmpty(&mut self)
pub unsafe fn Add_LF(&mut self)
pub unsafe fn Add_Dot(&mut self)
pub unsafe fn Add_Minus(&mut self)
pub unsafe fn Add_Colon(&mut self)
pub unsafe fn Add_UInt32(&mut self, v: UInt32)
pub unsafe fn Add_UInt64(&mut self, v: UInt64)
pub unsafe fn ReverseFind(&self, c: u32) -> c_int
pub unsafe fn ReverseFind_PathSepar(&self) -> c_int
pub unsafe fn Find(&self, s: *const u32, startIndex: c_uint) -> c_int
pub unsafe fn TrimLeft(&mut self)
pub unsafe fn TrimRight(&mut self)
pub unsafe fn InsertAtFront(&mut self, c: u32)
pub unsafe fn Insert(&mut self, index: c_uint, s: *const u32)
pub unsafe fn Insert1(&mut self, index: c_uint, s: *const UString)
pub unsafe fn RemoveChar(&mut self, ch: u32)
pub unsafe fn Replace(&mut self, oldChar: u32, newChar: u32)
pub unsafe fn Replace1( &mut self, oldString: *const UString, newString: *const UString, )
pub unsafe fn Delete(&mut self, index: c_uint)
pub unsafe fn Delete1(&mut self, index: c_uint, count: c_uint)
pub unsafe fn DeleteFrontal(&mut self, num: c_uint)
pub unsafe fn new() -> Self
pub unsafe fn new1(c: u32) -> Self
pub unsafe fn new2(c: c_char) -> Self
pub unsafe fn new3(s: *const c_char) -> Self
pub unsafe fn new4(s: *const AString) -> Self
pub unsafe fn new5(s: *const u32) -> Self
pub unsafe fn new6(s: *const UString) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UString
impl RefUnwindSafe for UString
impl !Send for UString
impl !Sync for UString
impl Unpin for UString
impl UnwindSafe for UString
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