#[repr(C)]pub struct Bone {
pub m_device_id: u64,
pub m_feature_index: u32,
}Expand description
Fields§
§m_device_id: u64§m_feature_index: u32Implementations§
Source§impl Bone
impl Bone
Sourcepub fn get_device_id(&mut self) -> u64
pub fn get_device_id(&mut self) -> u64
get_deviceId() overload
Sourcepub fn get_feature_index(&mut self) -> u32
pub fn get_feature_index(&mut self) -> u32
get_featureIndex() 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<Bone>) -> bool
pub fn equals_2(&mut self, other: impl Into<Bone>) -> bool
Equals(crate::unity_engine::xr::bone::Bone) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl Bone
impl Bone
pub fn get_device_id_method_info() -> &'static MethodInfo
pub fn get_feature_index_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§
Auto Trait Implementations§
impl Freeze for Bone
impl RefUnwindSafe for Bone
impl Send for Bone
impl Sync for Bone
impl Unpin for Bone
impl UnwindSafe for Bone
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)