Create a new builder.
()
| 58 | impl BrainFlowInputParamsBuilder { |
| 59 | /// Create a new builder. |
| 60 | pub fn new() -> Self { |
| 61 | Default::default() |
| 62 | } |
| 63 | /// Serial port name is used for boards which reads data from serial port. |
| 64 | pub fn serial_port<S: AsRef<str>>(mut self, port: S) -> Self { |
| 65 | self.params.serial_port = port.as_ref().to_string(); |
nothing calls this directly
no outgoing calls
no test coverage detected