#[repr(C)]pub struct UReplaceableCallbacks {
pub length: Option<unsafe extern "C" fn(rep: *const UReplaceable) -> i32>,
pub charAt: Option<unsafe extern "C" fn(rep: *const UReplaceable, offset: i32) -> UChar>,
pub char32At: Option<unsafe extern "C" fn(rep: *const UReplaceable, offset: i32) -> UChar32>,
pub replace: Option<unsafe extern "C" fn(rep: *mut UReplaceable, start: i32, limit: i32, text: *const UChar, textLength: i32)>,
pub extract: Option<unsafe extern "C" fn(rep: *mut UReplaceable, start: i32, limit: i32, dst: *mut UChar)>,
pub copy: Option<unsafe extern "C" fn(rep: *mut UReplaceable, start: i32, limit: i32, dest: i32)>,
}
Fields§
§length: Option<unsafe extern "C" fn(rep: *const UReplaceable) -> i32>
§charAt: Option<unsafe extern "C" fn(rep: *const UReplaceable, offset: i32) -> UChar>
§char32At: Option<unsafe extern "C" fn(rep: *const UReplaceable, offset: i32) -> UChar32>
§replace: Option<unsafe extern "C" fn(rep: *mut UReplaceable, start: i32, limit: i32, text: *const UChar, textLength: i32)>
§extract: Option<unsafe extern "C" fn(rep: *mut UReplaceable, start: i32, limit: i32, dst: *mut UChar)>
§copy: Option<unsafe extern "C" fn(rep: *mut UReplaceable, start: i32, limit: i32, dest: i32)>
Trait Implementations§
Source§impl Clone for UReplaceableCallbacks
impl Clone for UReplaceableCallbacks
Source§fn clone(&self) -> UReplaceableCallbacks
fn clone(&self) -> UReplaceableCallbacks
Returns a copy 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 UReplaceableCallbacks
impl Debug for UReplaceableCallbacks
Source§impl Default for UReplaceableCallbacks
impl Default for UReplaceableCallbacks
Source§fn default() -> UReplaceableCallbacks
fn default() -> UReplaceableCallbacks
Returns the “default value” for a type. Read more
Source§impl Hash for UReplaceableCallbacks
impl Hash for UReplaceableCallbacks
Source§impl PartialEq for UReplaceableCallbacks
impl PartialEq for UReplaceableCallbacks
Source§impl PartialOrd for UReplaceableCallbacks
impl PartialOrd for UReplaceableCallbacks
impl Copy for UReplaceableCallbacks
impl StructuralPartialEq for UReplaceableCallbacks
Auto Trait Implementations§
impl Freeze for UReplaceableCallbacks
impl RefUnwindSafe for UReplaceableCallbacks
impl Send for UReplaceableCallbacks
impl Sync for UReplaceableCallbacks
impl Unpin for UReplaceableCallbacks
impl UnwindSafe for UReplaceableCallbacks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)