Struct webxr_api::mock::MockDeviceInit
source · pub struct MockDeviceInit {
pub floor_origin: Option<RigidTransform3D<f32, Floor, Native>>,
pub supports_inline: bool,
pub supports_vr: bool,
pub supports_ar: bool,
pub viewer_origin: Option<RigidTransform3D<f32, Viewer, Native>>,
pub views: MockViewsInit,
pub supported_features: Vec<String>,
pub world: Option<MockWorld>,
}
Fields§
§floor_origin: Option<RigidTransform3D<f32, Floor, Native>>
§supports_inline: bool
§supports_vr: bool
§supports_ar: bool
§viewer_origin: Option<RigidTransform3D<f32, Viewer, Native>>
§views: MockViewsInit
§supported_features: Vec<String>
§world: Option<MockWorld>
Trait Implementations§
source§impl Clone for MockDeviceInit
impl Clone for MockDeviceInit
source§fn clone(&self) -> MockDeviceInit
fn clone(&self) -> MockDeviceInit
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 MockDeviceInit
impl Debug for MockDeviceInit
source§impl<'de> Deserialize<'de> for MockDeviceInit
impl<'de> Deserialize<'de> for MockDeviceInit
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
Auto Trait Implementations§
impl Freeze for MockDeviceInit
impl RefUnwindSafe for MockDeviceInit
impl Send for MockDeviceInit
impl Sync for MockDeviceInit
impl Unpin for MockDeviceInit
impl UnwindSafe for MockDeviceInit
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