#[repr(C)]pub struct OH_Drawing_RunBuffer {
pub glyphs: *mut u16,
pub pos: *mut f32,
pub utf8text: *mut c_char,
pub clusters: *mut u32,
}Expand description
@brief This struct describes a run, which provides storage for glyphs and positions.
@since 11 @version 1.0
Fields§
§glyphs: *mut u16Storage for glyph indexes in the run.
pos: *mut f32Storage for glyph positions in the run.
utf8text: *mut c_charStorage for UTF-8 encoded text units in the run.
clusters: *mut u32Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run.
Trait Implementations§
Source§impl Clone for OH_Drawing_RunBuffer
impl Clone for OH_Drawing_RunBuffer
impl Copy for OH_Drawing_RunBuffer
Auto Trait Implementations§
impl !Send for OH_Drawing_RunBuffer
impl !Sync for OH_Drawing_RunBuffer
impl Forget for OH_Drawing_RunBuffer
impl Freeze for OH_Drawing_RunBuffer
impl Move for OH_Drawing_RunBuffer
impl RefUnwindSafe for OH_Drawing_RunBuffer
impl Unpin for OH_Drawing_RunBuffer
impl UnsafeUnpin for OH_Drawing_RunBuffer
impl UnwindSafe for OH_Drawing_RunBuffer
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