Struct servo_config::prefs::gen::Prefs__dom__webxr
source · pub struct Prefs__dom__webxr {
pub enabled: bool,
pub test: bool,
pub first_person_observer_view: bool,
pub glwindow: Prefs__dom__webxr__glwindow,
pub hands: Prefs__dom__webxr__hands,
pub layers: Prefs__dom__webxr__layers,
pub sessionavailable: bool,
pub unsafe_assume_user_intent: bool,
}
Fields§
§enabled: bool
§test: bool
§first_person_observer_view: bool
§glwindow: Prefs__dom__webxr__glwindow
§hands: Prefs__dom__webxr__hands
§layers: Prefs__dom__webxr__layers
§unsafe_assume_user_intent: bool
Trait Implementations§
source§impl Clone for Prefs__dom__webxr
impl Clone for Prefs__dom__webxr
source§fn clone(&self) -> Prefs__dom__webxr
fn clone(&self) -> Prefs__dom__webxr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Prefs__dom__webxr
impl Debug for Prefs__dom__webxr
source§impl Default for Prefs__dom__webxr
impl Default for Prefs__dom__webxr
source§fn default() -> Prefs__dom__webxr
fn default() -> Prefs__dom__webxr
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Prefs__dom__webxr
impl<'de> Deserialize<'de> for Prefs__dom__webxr
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<Prefs__dom__webxr> for Prefs__dom__webxr
impl PartialEq<Prefs__dom__webxr> for Prefs__dom__webxr
source§fn eq(&self, other: &Prefs__dom__webxr) -> bool
fn eq(&self, other: &Prefs__dom__webxr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Prefs__dom__webxr
impl Serialize for Prefs__dom__webxr
impl StructuralPartialEq for Prefs__dom__webxr
Auto Trait Implementations§
impl RefUnwindSafe for Prefs__dom__webxr
impl Send for Prefs__dom__webxr
impl Sync for Prefs__dom__webxr
impl Unpin for Prefs__dom__webxr
impl UnwindSafe for Prefs__dom__webxr
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