pub enum MobileFriendlyRule {
MobileFriendlyRuleUnspecified,
UsesIncompatiblePlugins,
ConfigureViewport,
FixedWidthViewport,
SizeContentToViewport,
UseLegibleFontSizes,
TapTargetsTooClose,
}Expand description
Mobile-friendly rules.
Variants§
MobileFriendlyRuleUnspecified
Unspecified rule.
UsesIncompatiblePlugins
Uses incompatible plugins (e.g., Flash).
ConfigureViewport
Viewport not configured.
FixedWidthViewport
Fixed-width viewport.
SizeContentToViewport
Content wider than screen.
UseLegibleFontSizes
Text too small to read.
TapTargetsTooClose
Tap targets too close together.
Trait Implementations§
Source§impl Clone for MobileFriendlyRule
impl Clone for MobileFriendlyRule
Source§fn clone(&self) -> MobileFriendlyRule
fn clone(&self) -> MobileFriendlyRule
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 MobileFriendlyRule
impl Debug for MobileFriendlyRule
Source§impl<'de> Deserialize<'de> for MobileFriendlyRule
impl<'de> Deserialize<'de> for MobileFriendlyRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MobileFriendlyRule
impl RefUnwindSafe for MobileFriendlyRule
impl Send for MobileFriendlyRule
impl Sync for MobileFriendlyRule
impl Unpin for MobileFriendlyRule
impl UnsafeUnpin for MobileFriendlyRule
impl UnwindSafe for MobileFriendlyRule
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