#[repr(C)]pub struct InputDevice {
pub m_device_id: u64,
pub m_initialized: bool,
}Expand description
Fields§
§m_device_id: u64§m_initialized: boolImplementations§
Source§impl InputDevice
impl InputDevice
Sourcepub fn get_device_id(&mut self) -> u64
pub fn get_device_id(&mut self) -> u64
get_deviceId() overload
Sourcepub fn equals(&mut self, obj: impl Into<Object>) -> bool
pub fn equals(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<InputDevice>) -> bool
pub fn equals_2(&mut self, other: impl Into<InputDevice>) -> bool
Equals(crate::unity_engine::xr::inputdevice::InputDevice) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl InputDevice
impl InputDevice
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_device_id_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for InputDevice
impl ClassIdentity for InputDevice
Source§impl Clone for InputDevice
impl Clone for InputDevice
Source§fn clone(&self) -> InputDevice
fn clone(&self) -> InputDevice
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputDevice
Auto Trait Implementations§
impl Freeze for InputDevice
impl RefUnwindSafe for InputDevice
impl Send for InputDevice
impl Sync for InputDevice
impl Unpin for InputDevice
impl UnwindSafe for InputDevice
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)