Struct p25::trunking::fields::Channel
[−]
[src]
pub struct Channel(_);
Uniquely identifies a channel within a site.
Methods
impl Channel
[src]
pub fn new(bytes: &[u8]) -> Channel
[src]
Create a new Channel
from the given 16 bits.
pub fn id(&self) -> u8
[src]
Channel ID whose parameters to use.
pub fn number(&self) -> u16
[src]
Individual channel number within the channel.
Trait Implementations
impl Copy for Channel
[src]
impl Clone for Channel
[src]
fn clone(&self) -> Channel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Channel
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more