[−][src]Struct oxydyze::util::renderer::font_manager::FontManager
Methods
impl FontManager
[src]
pub fn new() -> Result<FontManager, String>
[src]
impl FontManager
[src]
pub fn load(
&mut self,
font_path: &Path,
texture_creator: &TextureCreator<WindowContext>
) -> Result<FontId, String>
[src]
&mut self,
font_path: &Path,
texture_creator: &TextureCreator<WindowContext>
) -> Result<FontId, String>
pub fn get_font_map(&self, id: FontId) -> Option<&FontMap>
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontManager
impl !Send for FontManager
impl !Sync for FontManager
impl Unpin for FontManager
impl UnwindSafe for FontManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<R> Resource for R where
R: 'static + Any,
[src]
R: 'static + Any,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,