Enum servo_config::pref_util::PrefValue
source · pub enum PrefValue {
Float(f64),
Int(i64),
Str(String),
Bool(bool),
Array(Vec<PrefValue>),
Missing,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PrefValue
impl<'de> Deserialize<'de> for PrefValue
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
source§impl PartialEq<PrefValue> for PrefValue
impl PartialEq<PrefValue> for PrefValue
source§impl TryFrom<&PrefValue> for StyloPrefValue
impl TryFrom<&PrefValue> for StyloPrefValue
impl StructuralPartialEq for PrefValue
Auto Trait Implementations§
impl RefUnwindSafe for PrefValue
impl Send for PrefValue
impl Sync for PrefValue
impl Unpin for PrefValue
impl UnwindSafe for PrefValue
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