pub fn ring_all(&mut self, n: usize, intensity: u32) {
        if self.device_type != MonomeDeviceType::Arc {
            error!("Called arc method on something that is not an arc.");
            return;
        }
        let mut args = Vec::with_capacity(2);
        args.push(OscType::Int(n as i32));
        args.push(OscType::Int(intensity as i32));

        self.send("/ring/all", args);
    }
/// Set all the led on an encoder to a particular intensity.
///
/// # Arguments
///
/// - `n` - the encoder to set the leds on, 0-indexed.
/// - `intensity` - the intensity of the leds: 0 being off, 15 full brightness.
///
/// # Example
///
/// On an arc, make a gradient accross all four encoders:
///
/// ```no_run
/// use monome::Monome;
/// let mut monome = Monome::new("/prefix").unwrap();
/// for i in 0..4 {
///   monome.ring_all(i, (i * 4) as u32);
/// }
/// ```
Set all the led on an encoder to a particular intensity.
Set all the led on an encoder to a particular intensity .
pub fn ring_all(&mut self, n: usize, intensity: u32) {
        if self.device_type != MonomeDeviceType::Arc {
            error!("Called arc method on something that is not an arc.");
            return;
        }
        let mut args = Vec::with_capacity(2);
        args.push(OscType::Int(n as i32));
        args.push(OscType::Int(intensity as i32));
        self.send("/ring/all", args);
    }
pub fn ring_all ( & mut self , n : usize , intensity : u32 ) { if self . device_type != MonomeDeviceType :: Arc { error ! ( " " ) ; return ; } let mut args = Vec :: with_capacity ( 2 ) ; args . push ( OscType :: Int ( n as i32 ) ) ; args . push ( OscType :: Int ( intensity as i32 ) ) ; self . send ( " " , args ) ; }
Set all the led on an encoder to a particular intensity.
Set all the led on an encoder to a particular intensity .
&mut self
n
usize
intensity
u32
&mut self
n
usize
the encoder to set the leds on, 0-indexed.
the encoder to set the leds on 0 - indexed .
intensity
u32
the intensity of the leds: 0 being off, 15 full brightness.
the intensity of the leds : 0 being off 15 full brightness .
example
On an arc, make a gradient accross all four encoders.

```no_run
use monome::Monome;
let mut monome = Monome::new("/prefix").unwrap();
for i in 0..4 {
monome.ring_all(i, (i * 4) as u32);
}
```
On an arc make a gradient accross all four encoders . ` ` ` no_run use monome :: Monome ; let mut monome = Monome :: new ( " / prefix " ) . unwrap () ; for i in 0 .. 4 { monome . ring_all ( i ( i * 4 ) as u32 ) ; } ` ` `