pub struct SimulatedFallbackRule {
pub range: Range<u32>,
pub fallback_face: FallbackFace,
pub advance_per_em: f32,
}Expand description
Rule defining simulated fallback behavior for a Unicode scalar range.
Fields§
§range: Range<u32>Unicode scalar range that triggers this fallback rule.
fallback_face: FallbackFaceFallback font identity.
advance_per_em: f32Default glyph advance for this fallback font in em units.
Trait Implementations§
Source§impl Clone for SimulatedFallbackRule
impl Clone for SimulatedFallbackRule
Auto Trait Implementations§
impl Freeze for SimulatedFallbackRule
impl RefUnwindSafe for SimulatedFallbackRule
impl Send for SimulatedFallbackRule
impl Sync for SimulatedFallbackRule
impl Unpin for SimulatedFallbackRule
impl UnsafeUnpin for SimulatedFallbackRule
impl UnwindSafe for SimulatedFallbackRule
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