Enum composable::views::ui::accessibility::Scale
source · pub enum Scale {
XXS,
XS,
S,
M,
L,
XL,
XXL,
XXXL,
}
Available on crate features
unstable
and views
and default_ui
only.Expand description
Scale
defines a predefined scale for scalable content.
Variants§
XXS
Use extra extra small sizes.
This is the default on desktop platforms.
XS
use extra small sizes.
S
Use small sizes.
M
Use medium sizes.
L
Use large sizes.
This is the default on mobile platforms.
XL
use extra large sizes.
XXL
Use extra extra large sizes.
XXXL
Use extra extra extra large sizes.
Implementations§
Trait Implementations§
impl Copy for Scale
impl DependencyDefault for Scale
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnwindSafe for Scale
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)