pub struct Huntsman(/* private fields */);Expand description
A Razer Huntsman keyboard.
Implementations§
Source§impl Huntsman
impl Huntsman
pub const NAME: &'static str = "Razer Huntsman"
Sourcepub fn breath_effect(&self) -> BreathEffect
pub fn breath_effect(&self) -> BreathEffect
Controls the breath effect.
Sourcepub fn brightness(&self) -> Brightness
pub fn brightness(&self) -> Brightness
Controls brightness.
pub fn custom_effect(&self) -> CustomEffect
Sourcepub fn keyboard_layout(&self) -> KeyboardLayout
pub fn keyboard_layout(&self) -> KeyboardLayout
Gets the keyboard’s layout.
Sourcepub fn macro_effect(&self) -> MacroEffect
pub fn macro_effect(&self) -> MacroEffect
Controls the macro effect.
Sourcepub fn macro_mode(&self) -> MacroMode
pub fn macro_mode(&self) -> MacroMode
Controls Macro Mode.
Sourcepub fn matrix_dimensions(&self) -> MatrixDimensions
pub fn matrix_dimensions(&self) -> MatrixDimensions
Gets the keyboard’s matrix dimensions.
Sourcepub fn reactive_effect(&self) -> ReactiveEffect
pub fn reactive_effect(&self) -> ReactiveEffect
Controls the reactive effect.
Sourcepub fn ripple_effect(&self) -> RippleEffect
pub fn ripple_effect(&self) -> RippleEffect
Controls the ripple effect.
Sourcepub fn spectrum_effect(&self) -> SpectrumEffect
pub fn spectrum_effect(&self) -> SpectrumEffect
Sets the sprectrum effect.
Sourcepub fn starlight_effect(&self) -> StarlightEffect
pub fn starlight_effect(&self) -> StarlightEffect
Controls the starlight effect.
Sourcepub fn static_effect(&self) -> StaticEffect
pub fn static_effect(&self) -> StaticEffect
Controls the static effect.
Sourcepub fn wave_effect(&self) -> WaveEffect
pub fn wave_effect(&self) -> WaveEffect
Controls the wave effect.
Trait Implementations§
Source§impl GenericMethods for Huntsman
impl GenericMethods for Huntsman
Source§fn get_generic_device(&self) -> &GenericDevice
fn get_generic_device(&self) -> &GenericDevice
Gets the underlying
GenericDevice.Source§fn capabilities(&self) -> AvailableCapabilities
fn capabilities(&self) -> AvailableCapabilities
Gets available capabilities.
Source§fn firmware_version(&self) -> BoxFuture<'_, Result<String, Error>>
fn firmware_version(&self) -> BoxFuture<'_, Result<String, Error>>
Gets the device’s firmware version.
Source§fn driver_version(&self) -> BoxFuture<'_, Result<String, Error>>
fn driver_version(&self) -> BoxFuture<'_, Result<String, Error>>
Gets the driver version for the device.
Auto Trait Implementations§
impl !RefUnwindSafe for Huntsman
impl !UnwindSafe for Huntsman
impl Forget for Huntsman
impl Freeze for Huntsman
impl Move for Huntsman
impl Send for Huntsman
impl Sync for Huntsman
impl Unpin for Huntsman
impl UnsafeUnpin for Huntsman
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