Struct freya_engine::prelude::FontArguments
#[repr(C)]pub struct FontArguments<'vp, 'p> { /* private fields */ }
Implementations§
§impl FontArguments<'_, '_>
impl FontArguments<'_, '_>
pub fn new() -> FontArguments<'_, '_>
pub fn set_collection_index( &mut self, collection_index: usize ) -> &mut FontArguments<'_, '_>
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§
§impl Debug for FontArguments<'_, '_>
impl Debug for FontArguments<'_, '_>
§impl Default for FontArguments<'_, '_>
impl Default for FontArguments<'_, '_>
§fn default() -> FontArguments<'_, '_>
fn default() -> FontArguments<'_, '_>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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