pub struct FTOpenArgs { /* private fields */ }
Expand description
This struct ensures that the lifetime of FT_Open_Args
and the resources it depends on is
handled correctly.
Trait Implementations§
Source§impl AsRef<FT_Open_Args> for FTOpenArgs
impl AsRef<FT_Open_Args> for FTOpenArgs
Allows viewing FTOpenArgs
as a FFI type.
Source§impl TryFrom<FontAssetSource> for FTOpenArgs
impl TryFrom<FontAssetSource> for FTOpenArgs
Converts a FontAssetSource
to a wrapper around FT_Open_Args
, which is required for reading a
font with FreeType.
Auto Trait Implementations§
impl Freeze for FTOpenArgs
impl !RefUnwindSafe for FTOpenArgs
impl !Send for FTOpenArgs
impl !Sync for FTOpenArgs
impl Unpin for FTOpenArgs
impl !UnwindSafe for FTOpenArgs
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