pub struct DirectChannelTable {
channels: Vec<DirectChannel>,
}Expand description
The direct-channel table (§10.3, 0.0.94.7.129.255).
Fields§
§channels: Vec<DirectChannel>Implementations§
Source§impl DirectChannelTable
impl DirectChannelTable
Sourcepub fn add(&mut self, channel: DirectChannel)
pub fn add(&mut self, channel: DirectChannel)
Adds a direct-channel mapping.
Sourcepub fn by_direct_id(&self, direct_id: u16) -> Option<&DirectChannel>
pub fn by_direct_id(&self, direct_id: u16) -> Option<&DirectChannel>
Resolves the meter addressed by direct_id.
Trait Implementations§
Source§impl Clone for DirectChannelTable
impl Clone for DirectChannelTable
Source§fn clone(&self) -> DirectChannelTable
fn clone(&self) -> DirectChannelTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectChannelTable
impl Debug for DirectChannelTable
Source§impl Default for DirectChannelTable
impl Default for DirectChannelTable
Source§fn default() -> DirectChannelTable
fn default() -> DirectChannelTable
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DirectChannelTable
impl RefUnwindSafe for DirectChannelTable
impl Send for DirectChannelTable
impl Sync for DirectChannelTable
impl Unpin for DirectChannelTable
impl UnsafeUnpin for DirectChannelTable
impl UnwindSafe for DirectChannelTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more