Struct easy_imgui::FontId
source · pub struct FontId(/* private fields */);Expand description
Identifier of a registered font. Only the values obtained from the latest call to UiBuilder::build_custom_atlas are actually valid.
FontId::default() wil be the default font.
Trait Implementations§
source§impl Ord for FontId
impl Ord for FontId
source§impl PartialEq for FontId
impl PartialEq for FontId
source§impl PartialOrd for FontId
impl PartialOrd for FontId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for FontId
impl Eq for FontId
impl StructuralPartialEq for FontId
Auto Trait Implementations§
impl Freeze for FontId
impl RefUnwindSafe for FontId
impl Send for FontId
impl Sync for FontId
impl Unpin for FontId
impl UnwindSafe for FontId
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