pub struct RumbleInterface { /* private fields */ }Implementations§
Source§impl RumbleInterface
impl RumbleInterface
pub const fn is_available(self) -> bool
pub fn set_state( self, port: impl Into<InputPort>, effect: RumbleEffect, strength: impl Into<RumbleStrength>, ) -> bool
Trait Implementations§
Source§impl Clone for RumbleInterface
impl Clone for RumbleInterface
Source§fn clone(&self) -> RumbleInterface
fn clone(&self) -> RumbleInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RumbleInterface
impl Debug for RumbleInterface
Source§impl Default for RumbleInterface
impl Default for RumbleInterface
Source§fn default() -> RumbleInterface
fn default() -> RumbleInterface
Returns the “default value” for a type. Read more
impl Copy for RumbleInterface
Auto Trait Implementations§
impl Freeze for RumbleInterface
impl RefUnwindSafe for RumbleInterface
impl Send for RumbleInterface
impl Sync for RumbleInterface
impl Unpin for RumbleInterface
impl UnsafeUnpin for RumbleInterface
impl UnwindSafe for RumbleInterface
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