#[repr(C)]pub struct NpadAttribute {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl NpadAttribute
impl NpadAttribute
pub fn none() -> Self
pub fn is_connected() -> Self
pub fn is_wired() -> Self
pub fn is_left_connected() -> Self
pub fn is_left_wired() -> Self
pub fn is_right_connected() -> Self
pub fn is_right_wired() -> Self
Trait Implementations§
Source§impl ClassIdentity for NpadAttribute
impl ClassIdentity for NpadAttribute
Source§impl Clone for NpadAttribute
impl Clone for NpadAttribute
Source§fn clone(&self) -> NpadAttribute
fn clone(&self) -> NpadAttribute
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 moreSource§impl Debug for NpadAttribute
impl Debug for NpadAttribute
Source§impl PartialEq for NpadAttribute
impl PartialEq for NpadAttribute
impl Copy for NpadAttribute
impl Eq for NpadAttribute
impl StructuralPartialEq for NpadAttribute
Auto Trait Implementations§
impl Freeze for NpadAttribute
impl RefUnwindSafe for NpadAttribute
impl Send for NpadAttribute
impl Sync for NpadAttribute
impl Unpin for NpadAttribute
impl UnwindSafe for NpadAttribute
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)