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