#[repr(C)]pub struct charWidthInfo_s {
pub left: s8,
pub glyphWidth: u8_,
pub charWidth: u8_,
}Expand description
Character width information structure.
Fields§
§left: s8< Horizontal offset to draw the glyph with.
glyphWidth: u8_< Width of the glyph.
charWidth: u8_< Width of the character, that is, horizontal distance to advance.
Trait Implementations§
Source§impl Clone for charWidthInfo_s
impl Clone for charWidthInfo_s
Source§fn clone(&self) -> charWidthInfo_s
fn clone(&self) -> charWidthInfo_s
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 charWidthInfo_s
impl Debug for charWidthInfo_s
Source§impl Default for charWidthInfo_s
impl Default for charWidthInfo_s
Source§fn default() -> charWidthInfo_s
fn default() -> charWidthInfo_s
Returns the “default value” for a type. Read more
impl Copy for charWidthInfo_s
Auto Trait Implementations§
impl Freeze for charWidthInfo_s
impl RefUnwindSafe for charWidthInfo_s
impl Send for charWidthInfo_s
impl Sync for charWidthInfo_s
impl Unpin for charWidthInfo_s
impl UnwindSafe for charWidthInfo_s
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)