pub struct ShaperBuilder<'a> { /* private fields */ }
Expand description
Builder type for constructing a Shaper
.
Implementations§
Source§impl<'a> ShaperBuilder<'a>
impl<'a> ShaperBuilder<'a>
Sourcepub fn instance(self, instance: Option<&'a ShaperInstance>) -> Self
pub fn instance(self, instance: Option<&'a ShaperInstance>) -> Self
Sets an optional instance for the shaper.
This defines the variable font configuration.
Sourcepub fn point_size(self, size: Option<f32>) -> Self
pub fn point_size(self, size: Option<f32>) -> Self
Sets the point size for the shaper.
This controls adjustments provided by the tracking table.
Auto Trait Implementations§
impl<'a> Freeze for ShaperBuilder<'a>
impl<'a> RefUnwindSafe for ShaperBuilder<'a>
impl<'a> Send for ShaperBuilder<'a>
impl<'a> Sync for ShaperBuilder<'a>
impl<'a> Unpin for ShaperBuilder<'a>
impl<'a> UnwindSafe for ShaperBuilder<'a>
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