pub fn col<'a, A>(&mut self, x: i32, y_offset: i32, leds: &A)
    where
        A: IntoAddrAndArgs<'a, Vec<OscType>>,
    {
        if self.device_type != MonomeDeviceType::Grid {
            error!("Called grid method on something that is not an grid.");
            return;
        }
        let (frag, mut arg) = leds.as_addr_frag_and_args();

        let mut args = Vec::with_capacity((2 + arg.len()) as usize);

        args.push(OscType::Int(x));
        args.push(OscType::Int(y_offset));
        args.append(&mut arg);

        self.send(&format!("/grid/led/{}col", frag), args);
    }
/// Set a full column of a grid, using one or more 8-bit mask(s), or a vector containing
/// booleans or integer intensity values.
///
/// # Arguments
///
/// * `x` - which column to set 0-indexed. This must be lower than the number of columns of the
/// device.
/// * `y_offset` - at which 8 button offset to start setting the leds. This is always 0 for a
/// 64, and can be 8 for a 128 or 256.
/// * `leds` - either the list of masks that determine the pattern to light on for a particular
/// 8 led long section, or a vector of either int or bool, one element for each led.
///
/// # Example
///
/// On a monome 256, light up every other led of the bottom half of the 3rd column from the
/// right:
///
/// ```no_run
/// use monome::Monome;
/// let mut monome = Monome::new("/prefix").unwrap();
/// monome.col(2 /* 3rd column, 0-indexed */,
///            8 /* bottom half */,
///            &0b01010101u8 /* every other led, 85 in decimal */);
/// ```
Set a full column of a grid, using one or more 8-bit mask(s), or a vector containing
booleans or integer intensity values.
Set a full column of a grid using one or more 8 - bit mask ( s ) or a vector containing booleans or integer intensity values .
pub fn col<'a, A>(&mut self, x: i32, y_offset: i32, leds: &A)
    where
        A: IntoAddrAndArgs<'a, Vec<OscType>>,
    {
        if self.device_type != MonomeDeviceType::Grid {
            error!("Called grid method on something that is not an grid.");
            return;
        }
        let (frag, mut arg) = leds.as_addr_frag_and_args();
        let mut args = Vec::with_capacity((2 + arg.len()) as usize);
        args.push(OscType::Int(x));
        args.push(OscType::Int(y_offset));
        args.append(&mut arg);
        self.send(&format!("/grid/led/{}col", frag), args);
    }
pub fn col < ' a , A > ( & mut self , x : i32 , y_offset : i32 , leds : & A ) where A : IntoAddrAndArgs < ' a , Vec < OscType > > , { if self . device_type != MonomeDeviceType :: Grid { error ! ( " " ) ; return ; } let ( frag , mut arg ) = leds . as_addr_frag_and_args ( ) ; let mut args = Vec :: with_capacity ( ( 2 + arg . len ( ) ) as usize ) ; args . push ( OscType :: Int ( x ) ) ; args . push ( OscType :: Int ( y_offset ) ) ; args . append ( & mut arg ) ; self . send ( & format ! ( " " frag ) , args ) ; }
Set a full column of a grid, using one or more 8-bit mask(s), or a vector containing
booleans or integer intensity values.
Set a full column of a grid using one or more 8 - bit mask ( s ) or a vector containing booleans or integer intensity values .
&mut self
x
i32
y_offset
i32
leds
&A
&mut self
x
i32
y_offset
i32
leds
&A
example
On a monome 256, light up every other led of the bottom half of the 3rd column from the
right.

```no_run
use monome::Monome;
let mut monome = Monome::new("/prefix").unwrap();
monome.col(2  3rd column, 0-indexed */,
8  bottom half */,
&0b01010101u8  every other led, 85 in decimal */);
```
On a monome 256 light up every other led of the bottom half of the 3rd column from the right . ` ` ` no_run use monome :: Monome ; let mut monome = Monome :: new ( " / prefix " ) . unwrap () ; monome . col ( 2 3rd column 0 - indexed * / 8 bottom half * / &0b01010101u8 every other led 85 in decimal * / ) ; ` ` `