Struct servo_config::prefs::gen::Prefs__dom

source ·
pub struct Prefs__dom {
Show 37 fields pub webgpu: Prefs__dom__webgpu, pub bluetooth: Prefs__dom__bluetooth, pub abort_controller: Prefs__dom__abort_controller, pub allow_scripts_to_close_windows: bool, pub canvas_capture: Prefs__dom__canvas_capture, pub canvas_text: Prefs__dom__canvas_text, pub composition_event: Prefs__dom__composition_event, pub crypto: Prefs__dom__crypto, pub custom_elements: Prefs__dom__custom_elements, pub document: Prefs__dom__document, pub forcetouch: Prefs__dom__forcetouch, pub fullscreen: Prefs__dom__fullscreen, pub gamepad: Prefs__dom__gamepad, pub imagebitmap: Prefs__dom__imagebitmap, pub intersection_observer: Prefs__dom__intersection_observer, pub microdata: Prefs__dom__microdata, pub mouse_event: Prefs__dom__mouse_event, pub mutation_observer: Prefs__dom__mutation_observer, pub offscreen_canvas: Prefs__dom__offscreen_canvas, pub permissions: Prefs__dom__permissions, pub resize_observer: Prefs__dom__resize_observer, pub script: Prefs__dom__script, pub serviceworker: Prefs__dom__serviceworker, pub servo_helpers: Prefs__dom__servo_helpers, pub servoparser: Prefs__dom__servoparser, pub shadowdom: Prefs__dom__shadowdom, pub svg: Prefs__dom__svg, pub testable_crash: Prefs__dom__testable_crash, pub testbinding: Prefs__dom__testbinding, pub testing: Prefs__dom__testing, pub testperf: Prefs__dom__testperf, pub webgl2: Prefs__dom__webgl2, pub webrtc: Prefs__dom__webrtc, pub webvtt: Prefs__dom__webvtt, pub webxr: Prefs__dom__webxr, pub worklet: Prefs__dom__worklet, pub xpath: Prefs__dom__xpath,
}

Fields§

§webgpu: Prefs__dom__webgpu§bluetooth: Prefs__dom__bluetooth§abort_controller: Prefs__dom__abort_controller§allow_scripts_to_close_windows: bool§canvas_capture: Prefs__dom__canvas_capture§canvas_text: Prefs__dom__canvas_text§composition_event: Prefs__dom__composition_event§crypto: Prefs__dom__crypto§custom_elements: Prefs__dom__custom_elements§document: Prefs__dom__document§forcetouch: Prefs__dom__forcetouch§fullscreen: Prefs__dom__fullscreen§gamepad: Prefs__dom__gamepad§imagebitmap: Prefs__dom__imagebitmap§intersection_observer: Prefs__dom__intersection_observer§microdata: Prefs__dom__microdata§mouse_event: Prefs__dom__mouse_event§mutation_observer: Prefs__dom__mutation_observer§offscreen_canvas: Prefs__dom__offscreen_canvas§permissions: Prefs__dom__permissions§resize_observer: Prefs__dom__resize_observer§script: Prefs__dom__script§serviceworker: Prefs__dom__serviceworker§servo_helpers: Prefs__dom__servo_helpers§servoparser: Prefs__dom__servoparser§shadowdom: Prefs__dom__shadowdom§svg: Prefs__dom__svg§testable_crash: Prefs__dom__testable_crash§testbinding: Prefs__dom__testbinding§testing: Prefs__dom__testing§testperf: Prefs__dom__testperf§webgl2: Prefs__dom__webgl2§webrtc: Prefs__dom__webrtc§webvtt: Prefs__dom__webvtt§webxr: Prefs__dom__webxr§worklet: Prefs__dom__worklet§xpath: Prefs__dom__xpath

Trait Implementations§

source§

impl Clone for Prefs__dom

source§

fn clone(&self) -> Prefs__dom

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Prefs__dom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Prefs__dom

source§

fn default() -> Prefs__dom

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Prefs__dom

source§

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 for Prefs__dom

source§

fn eq(&self, other: &Prefs__dom) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Prefs__dom

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Prefs__dom

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
source§

impl<T> MaybeBoxed<Box<T>> for T

source§

fn maybe_boxed(self) -> Box<T>

Convert
source§

impl<T> MaybeBoxed<T> for T

source§

fn maybe_boxed(self) -> T

Convert
source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
source§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

source§

impl<T> ErasedDestructor for T
where T: 'static,

source§

impl<T> MaybeSendSync for T