Struct imgui::SharedFontAtlas
source · pub struct SharedFontAtlas(/* private fields */);
Expand description
A font atlas that can be shared between contexts
Implementations§
pub fn create() -> SharedFontAtlas
sourcepub fn as_ptr(&self) -> *const ImFontAtlas
pub fn as_ptr(&self) -> *const ImFontAtlas
Gets a raw pointer to the underlying ImFontAtlas
.
sourcepub fn as_ptr_mut(&mut self) -> *mut ImFontAtlas
pub fn as_ptr_mut(&mut self) -> *mut ImFontAtlas
Gets a raw pointer to the underlying ImFontAtlas
.
Trait Implementations§
source§fn clone(&self) -> SharedFontAtlas
fn clone(&self) -> SharedFontAtlas
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
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