pub enum Prefix {
o,
moz,
webkit,
ms,
Unknown(String),
}Expand description
The prefix put before at-rules, property names and property values
Variants§
o
-o- prefix (legacy Opera Presto prefix).
moz
-moz- prefix.
webkit
-webkit- prefix (Is sometimes also used by IE, Edge and Blink-based browsers (Chrome and Opera)).
ms
-ms- prefix.
Unknown(String)
A prefix that did not exist in the caniuse.com data when this library was created
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prefix
impl<'de> Deserialize<'de> for Prefix
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize using Serde
Source§impl Ord for Prefix
impl Ord for Prefix
Source§impl PartialOrd for Prefix
impl PartialOrd for Prefix
impl Eq for Prefix
impl StructuralPartialEq for Prefix
Auto Trait Implementations§
impl Freeze for Prefix
impl RefUnwindSafe for Prefix
impl Send for Prefix
impl Sync for Prefix
impl Unpin for Prefix
impl UnwindSafe for Prefix
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