pub struct ChannelsSpec { /* private fields */ }Implementations§
Source§impl ChannelsSpec
impl ChannelsSpec
pub fn new(version: u32) -> Self
pub fn add(self, ch: ChannelSpec) -> Self
pub fn push(&mut self, ch: ChannelSpec)
pub fn version(&self) -> u32
pub fn channels(&self) -> &[ChannelSpec]
pub fn into_channels(self) -> Vec<ChannelSpec>
Trait Implementations§
Source§impl Clone for ChannelsSpec
impl Clone for ChannelsSpec
Source§fn clone(&self) -> ChannelsSpec
fn clone(&self) -> ChannelsSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 ChannelsSpec
impl Debug for ChannelsSpec
Auto Trait Implementations§
impl Freeze for ChannelsSpec
impl RefUnwindSafe for ChannelsSpec
impl Send for ChannelsSpec
impl Sync for ChannelsSpec
impl Unpin for ChannelsSpec
impl UnwindSafe for ChannelsSpec
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