[]Struct servo_config::prefs::PREFS

pub struct PREFS {
    __private_field: (),
}

Fields

__private_field: ()

Methods from Deref<Target = Preferences>

pub fn get(&self, name: &str) -> Arc<PrefValue>[src]

pub fn cloned(&self) -> HashMap<String, Pref>[src]

pub fn set(&self, name: &str, value: PrefValue)[src]

pub fn reset(&self, name: &str) -> Arc<PrefValue>[src]

pub fn reset_all(&self)[src]

pub fn extend(&self, extension: HashMap<String, Pref>)[src]

pub fn is_webvr_enabled(&self) -> bool[src]

pub fn is_dom_to_texture_enabled(&self) -> bool[src]

pub fn is_webgl2_enabled(&self) -> bool[src]

Trait Implementations

impl Deref for PREFS

type Target = Preferences

The resulting type after dereferencing.

impl LazyStatic for PREFS

Auto Trait Implementations

impl Send for PREFS

impl Sync for PREFS

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> Same for T[src]

type Output = T

Should always be Self