#[repr(C)]pub struct InteractionProfileDpadBindingEXT {
pub ty: StructureType,
pub next: *const c_void,
pub binding: Path,
pub action_set: ActionSet,
pub force_threshold: f32,
pub force_threshold_released: f32,
pub center_region: f32,
pub wedge_angle: f32,
pub is_sticky: Bool32,
pub on_haptic: *const HapticBaseHeader,
pub off_haptic: *const HapticBaseHeader,
}
Expand description
See XrInteractionProfileDpadBindingEXT - defined by XR_EXT_dpad_binding
Fields§
§ty: StructureType
§next: *const c_void
§binding: Path
§action_set: ActionSet
§force_threshold: f32
§force_threshold_released: f32
§center_region: f32
§wedge_angle: f32
§is_sticky: Bool32
§on_haptic: *const HapticBaseHeader
§off_haptic: *const HapticBaseHeader
Implementations§
Source§impl InteractionProfileDpadBindingEXT
impl InteractionProfileDpadBindingEXT
pub const TYPE: StructureType = StructureType::INTERACTION_PROFILE_DPAD_BINDING_EXT
Trait Implementations§
Source§impl Clone for InteractionProfileDpadBindingEXT
impl Clone for InteractionProfileDpadBindingEXT
Source§fn clone(&self) -> InteractionProfileDpadBindingEXT
fn clone(&self) -> InteractionProfileDpadBindingEXT
Returns a duplicate 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 InteractionProfileDpadBindingEXT
Auto Trait Implementations§
impl Freeze for InteractionProfileDpadBindingEXT
impl RefUnwindSafe for InteractionProfileDpadBindingEXT
impl !Send for InteractionProfileDpadBindingEXT
impl !Sync for InteractionProfileDpadBindingEXT
impl Unpin for InteractionProfileDpadBindingEXT
impl UnwindSafe for InteractionProfileDpadBindingEXT
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