Struct servo_config::prefs::gen::Prefs
source · pub struct Prefs {Show 13 fields
pub fonts: Prefs__fonts,
pub threadpools: Prefs__threadpools,
pub css: Prefs__css,
pub devtools: Prefs__devtools,
pub dom: Prefs__dom,
pub gfx: Prefs__gfx,
pub js: Prefs__js,
pub layout: Prefs__layout,
pub media: Prefs__media,
pub network: Prefs__network,
pub session_history: Prefs__session_history,
pub shell: Prefs__shell,
pub webgl: Prefs__webgl,
}
Fields§
§fonts: Prefs__fonts
§threadpools: Prefs__threadpools
§css: Prefs__css
§devtools: Prefs__devtools
§dom: Prefs__dom
§gfx: Prefs__gfx
§js: Prefs__js
§layout: Prefs__layout
§media: Prefs__media
§network: Prefs__network
§session_history: Prefs__session_history
§shell: Prefs__shell
§webgl: Prefs__webgl
Trait Implementations§
source§impl<'de> Deserialize<'de> for Prefs
impl<'de> Deserialize<'de> for Prefs
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
impl StructuralPartialEq for Prefs
Auto Trait Implementations§
impl Freeze for Prefs
impl RefUnwindSafe for Prefs
impl Send for Prefs
impl Sync for Prefs
impl Unpin for Prefs
impl UnwindSafe for Prefs
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§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
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert