MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / new

Method new

rust_package/brainflow/src/brainflow_input_params.rs:60–62  ·  view source on GitHub ↗

Create a new builder.

()

Source from the content-addressed store, hash-verified

58impl 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();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected