pub struct FontConverter;
Implementations§
Source§impl FontConverter
impl FontConverter
Trait Implementations§
Source§impl AssetLoader for FontConverter
impl AssetLoader for FontConverter
type AssetType = Font
Source§fn convert_and_insert(
&self,
id: RawWeakId,
octets: &[u8],
resources: &mut ResourceStorage,
) -> Result<(), ConversionError>
fn convert_and_insert( &self, id: RawWeakId, octets: &[u8], resources: &mut ResourceStorage, ) -> Result<(), ConversionError>
Errors Read more
Source§impl Default for FontConverter
impl Default for FontConverter
Source§fn default() -> FontConverter
fn default() -> FontConverter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FontConverter
impl RefUnwindSafe for FontConverter
impl Send for FontConverter
impl Sync for FontConverter
impl Unpin for FontConverter
impl UnwindSafe for FontConverter
Blanket Implementations§
Source§impl<T> AnyAssetLoader for Twhere
T: AssetLoader + 'static,
impl<T> AnyAssetLoader for Twhere
T: AssetLoader + 'static,
Source§fn convert_and_insert_erased(
&self,
id: RawWeakId,
octets: &[u8],
resources: &mut ResourceStorage,
) -> Result<(), LoadError>
fn convert_and_insert_erased( &self, id: RawWeakId, octets: &[u8], resources: &mut ResourceStorage, ) -> Result<(), LoadError>
Errors Read more
fn asset_type_id(&self) -> TypeId
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