Struct webxr_api::util::ClipPlanes
source · pub struct ClipPlanes {
pub near: f32,
pub far: f32,
update: bool,
}
Fields§
§near: f32
§far: f32
§update: bool
Was there an update that needs propagation to the client?
Implementations§
source§impl ClipPlanes
impl ClipPlanes
Trait Implementations§
source§impl Clone for ClipPlanes
impl Clone for ClipPlanes
source§fn clone(&self) -> ClipPlanes
fn clone(&self) -> ClipPlanes
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 ClipPlanes
impl Debug for ClipPlanes
source§impl Default for ClipPlanes
impl Default for ClipPlanes
source§impl<'de> Deserialize<'de> for ClipPlanes
impl<'de> Deserialize<'de> for ClipPlanes
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 Serialize for ClipPlanes
impl Serialize for ClipPlanes
impl Copy for ClipPlanes
Auto Trait Implementations§
impl Freeze for ClipPlanes
impl RefUnwindSafe for ClipPlanes
impl Send for ClipPlanes
impl Sync for ClipPlanes
impl Unpin for ClipPlanes
impl UnwindSafe for ClipPlanes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)