Struct ImFontConfig

Source
#[repr(C)]
pub struct ImFontConfig {
Show 18 fields pub font_data: *mut c_void, pub font_data_size: c_int, pub font_data_owned_by_atlas: bool, pub font_no: c_int, pub size_pixels: c_float, pub oversample_h: c_int, pub oversample_v: c_int, pub pixel_snap_h: bool, pub glyph_extra_spacing: ImVec2, pub glyph_offset: ImVec2, pub glyph_ranges: *const ImWchar, pub glyph_min_advance_x: c_float, pub glyph_max_advance_x: c_float, pub merge_mode: bool, pub rasterizer_flags: c_uint, pub rasterizer_multiply: c_float, pub name: [c_char; 40], pub dst_font: *mut ImFont,
}

Fields§

§font_data: *mut c_void§font_data_size: c_int§font_data_owned_by_atlas: bool§font_no: c_int§size_pixels: c_float§oversample_h: c_int§oversample_v: c_int§pixel_snap_h: bool§glyph_extra_spacing: ImVec2§glyph_offset: ImVec2§glyph_ranges: *const ImWchar§glyph_min_advance_x: c_float§glyph_max_advance_x: c_float§merge_mode: bool§rasterizer_flags: c_uint§rasterizer_multiply: c_float§name: [c_char; 40]§dst_font: *mut ImFont

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.