Struct openxr_sys::PassthroughColorHTC
source · #[repr(C)]pub struct PassthroughColorHTC {
pub ty: StructureType,
pub next: *const c_void,
pub alpha: f32,
}
Expand description
See XrPassthroughColorHTC - defined by XR_HTC_passthrough
Fields§
§ty: StructureType
§next: *const c_void
§alpha: f32
Implementations§
source§impl PassthroughColorHTC
impl PassthroughColorHTC
pub const TYPE: StructureType = StructureType::PASSTHROUGH_COLOR_HTC
Trait Implementations§
source§impl Clone for PassthroughColorHTC
impl Clone for PassthroughColorHTC
source§fn clone(&self) -> PassthroughColorHTC
fn clone(&self) -> PassthroughColorHTC
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 PassthroughColorHTC
impl Debug for PassthroughColorHTC
impl Copy for PassthroughColorHTC
Auto Trait Implementations§
impl RefUnwindSafe for PassthroughColorHTC
impl !Send for PassthroughColorHTC
impl !Sync for PassthroughColorHTC
impl Unpin for PassthroughColorHTC
impl UnwindSafe for PassthroughColorHTC
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