#[repr(C)]pub struct InteractionProfileAnalogThresholdVALVE {
pub ty: StructureType,
pub next: *const c_void,
pub action: Action,
pub binding: Path,
pub on_threshold: f32,
pub off_threshold: f32,
pub on_haptic: *const HapticBaseHeader,
pub off_haptic: *const HapticBaseHeader,
}
Expand description
See XrInteractionProfileAnalogThresholdVALVE - defined by XR_VALVE_analog_threshold
Fields§
§ty: StructureType
§next: *const c_void
§action: Action
§binding: Path
§on_threshold: f32
§off_threshold: f32
§on_haptic: *const HapticBaseHeader
§off_haptic: *const HapticBaseHeader
Implementations§
source§impl InteractionProfileAnalogThresholdVALVE
impl InteractionProfileAnalogThresholdVALVE
pub const TYPE: StructureType = StructureType::INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE
Trait Implementations§
source§impl Clone for InteractionProfileAnalogThresholdVALVE
impl Clone for InteractionProfileAnalogThresholdVALVE
source§fn clone(&self) -> InteractionProfileAnalogThresholdVALVE
fn clone(&self) -> InteractionProfileAnalogThresholdVALVE
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 moreimpl Copy for InteractionProfileAnalogThresholdVALVE
Auto Trait Implementations§
impl RefUnwindSafe for InteractionProfileAnalogThresholdVALVE
impl !Send for InteractionProfileAnalogThresholdVALVE
impl !Sync for InteractionProfileAnalogThresholdVALVE
impl Unpin for InteractionProfileAnalogThresholdVALVE
impl UnwindSafe for InteractionProfileAnalogThresholdVALVE
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