Struct webxr_api::MockRegion
source · pub struct MockRegion {
pub faces: Vec<Triangle>,
pub ty: EntityType,
}
Fields§
§faces: Vec<Triangle>
§ty: EntityType
Trait Implementations§
source§impl Clone for MockRegion
impl Clone for MockRegion
source§fn clone(&self) -> MockRegion
fn clone(&self) -> MockRegion
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 MockRegion
impl Debug for MockRegion
source§impl<'de> Deserialize<'de> for MockRegion
impl<'de> Deserialize<'de> for MockRegion
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 MockRegion
impl RefUnwindSafe for MockRegion
impl Send for MockRegion
impl Sync for MockRegion
impl Unpin for MockRegion
impl UnwindSafe for MockRegion
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