pub struct ResolvedTextScale {
pub caption: ResolvedTextScaleEntry,
pub section_heading: ResolvedTextScaleEntry,
pub dialog_title: ResolvedTextScaleEntry,
pub display: ResolvedTextScaleEntry,
}Expand description
A fully resolved text scale with all four typographic roles populated.
Fields§
§caption: ResolvedTextScaleEntryCaption / small label text.
section_heading: ResolvedTextScaleEntrySection heading text.
dialog_title: ResolvedTextScaleEntryDialog title text.
display: ResolvedTextScaleEntryLarge display / hero text.
Trait Implementations§
Source§impl Clone for ResolvedTextScale
impl Clone for ResolvedTextScale
Source§fn clone(&self) -> ResolvedTextScale
fn clone(&self) -> ResolvedTextScale
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 ResolvedTextScale
impl Debug for ResolvedTextScale
Source§impl PartialEq for ResolvedTextScale
impl PartialEq for ResolvedTextScale
Source§impl Serialize for ResolvedTextScale
impl Serialize for ResolvedTextScale
impl StructuralPartialEq for ResolvedTextScale
Auto Trait Implementations§
impl Freeze for ResolvedTextScale
impl RefUnwindSafe for ResolvedTextScale
impl Send for ResolvedTextScale
impl Sync for ResolvedTextScale
impl Unpin for ResolvedTextScale
impl UnsafeUnpin for ResolvedTextScale
impl UnwindSafe for ResolvedTextScale
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