#[repr(C)]pub struct OH_Drawing_PlaceholderSpan {
pub width: f64,
pub height: f64,
pub alignment: OH_Drawing_PlaceholderVerticalAlignment,
pub baseline: OH_Drawing_TextBaseline,
pub baselineOffset: f64,
}Available on crate feature
api-12 only.Expand description
Defines the placeholder span.
Available since API-level: 11
Version: 1.0
Fields§
§width: f64width of placeholder
height: f64height of placeholder
alignment: OH_Drawing_PlaceholderVerticalAlignmentalignment of placeholder
baseline: OH_Drawing_TextBaselinebaseline of placeholder
baselineOffset: f64baselineoffset of placeholder
Trait Implementations§
Source§impl Clone for OH_Drawing_PlaceholderSpan
impl Clone for OH_Drawing_PlaceholderSpan
Source§fn clone(&self) -> OH_Drawing_PlaceholderSpan
fn clone(&self) -> OH_Drawing_PlaceholderSpan
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OH_Drawing_PlaceholderSpan
impl Debug for OH_Drawing_PlaceholderSpan
impl Copy for OH_Drawing_PlaceholderSpan
Auto Trait Implementations§
impl Freeze for OH_Drawing_PlaceholderSpan
impl RefUnwindSafe for OH_Drawing_PlaceholderSpan
impl Send for OH_Drawing_PlaceholderSpan
impl Sync for OH_Drawing_PlaceholderSpan
impl Unpin for OH_Drawing_PlaceholderSpan
impl UnwindSafe for OH_Drawing_PlaceholderSpan
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)