MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / new

Method new

lrwn/src/cflist.rs:48–50  ·  view source on GitHub ↗
(channels: [u32; 5])

Source from the content-addressed store, hash-verified

46
47impl CFListChannels {
48 pub fn new(channels: [u32; 5]) -> Self {
49 CFListChannels(channels)
50 }
51
52 pub fn from_slice(channels: &[u32]) -> Result<Self> {
53 let mut channels_array: [u32; 5] = [0; 5];

Callers

nothing calls this directly

Calls 3

CFListChannelsClass · 0.85
CFListChannelMasksClass · 0.85
ChMaskClass · 0.85

Tested by

no test coverage detected