pub(super) struct StyleRange {
pub first: u32,
pub last: u32,
pub style: GlyphStyle,
}
Expand description
Associates a basic glyph style with a range of codepoints.
Fields§
§first: u32
§last: u32
§style: GlyphStyle
Implementations§
Trait Implementations§
Source§impl Clone for StyleRange
impl Clone for StyleRange
Source§fn clone(&self) -> StyleRange
fn clone(&self) -> StyleRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StyleRange
impl Debug for StyleRange
impl Copy for StyleRange
Auto Trait Implementations§
impl Freeze for StyleRange
impl RefUnwindSafe for StyleRange
impl Send for StyleRange
impl Sync for StyleRange
impl Unpin for StyleRange
impl UnwindSafe for StyleRange
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