Enum fit_text::Resize [−][src]
pub enum Resize {
NoLarger,
Max,
None,
}
Expand description
A way of resizing text in a rectangle
Variants
NoLarger
Make the text no larger than its original font size, but still try to fit it in the rectangle
Max
Make the text as large as possible while still fitting in the rectangle
None
Do not resize the text
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Resize
impl UnwindSafe for Resize
Blanket Implementations
Mutably borrows from an owned value. Read more