#[repr(C)]pub struct FontArguments<'vp, 'p> { /* private fields */ }
Implementations§
Source§impl FontArguments<'_, '_>
impl FontArguments<'_, '_>
pub fn new() -> Self
pub fn set_collection_index(&mut self, collection_index: usize) -> &mut Self
pub fn set_variation_design_position( self, position: VariationPosition<'_>, ) -> FontArguments<'_, '_>
pub fn collection_index(&self) -> usize
pub fn variation_design_position(&self) -> VariationPosition<'_>
pub fn set_palette(self, palette: Palette<'_>) -> FontArguments<'_, '_>
pub fn palette(&self) -> Palette<'_>
Trait Implementations§
Source§impl Debug for FontArguments<'_, '_>
impl Debug for FontArguments<'_, '_>
Source§impl Default for FontArguments<'_, '_>
impl Default for FontArguments<'_, '_>
Source§impl Drop for FontArguments<'_, '_>
impl Drop for FontArguments<'_, '_>
Source§impl From<FontArguments<'_, '_>> for FontArguments
impl From<FontArguments<'_, '_>> for FontArguments
Source§fn from(fa: FontArguments<'_, '_>) -> Self
fn from(fa: FontArguments<'_, '_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'vp, 'p> Freeze for FontArguments<'vp, 'p>
impl<'vp, 'p> RefUnwindSafe for FontArguments<'vp, 'p>
impl<'vp, 'p> !Send for FontArguments<'vp, 'p>
impl<'vp, 'p> !Sync for FontArguments<'vp, 'p>
impl<'vp, 'p> Unpin for FontArguments<'vp, 'p>
impl<'vp, 'p> UnwindSafe for FontArguments<'vp, 'p>
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