pub struct ChannelIndex(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl ChannelIndex
impl ChannelIndex
pub fn new(index: i32) -> Result<Self, NanonisError>
Trait Implementations§
Source§impl Clone for ChannelIndex
impl Clone for ChannelIndex
Source§fn clone(&self) -> ChannelIndex
fn clone(&self) -> ChannelIndex
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 ChannelIndex
impl Debug for ChannelIndex
Source§impl From<ChannelIndex> for i32
impl From<ChannelIndex> for i32
Source§fn from(channel: ChannelIndex) -> Self
fn from(channel: ChannelIndex) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ChannelIndex
impl From<i32> for ChannelIndex
Source§impl From<usize> for ChannelIndex
impl From<usize> for ChannelIndex
Source§impl PartialEq for ChannelIndex
impl PartialEq for ChannelIndex
impl Copy for ChannelIndex
impl Eq for ChannelIndex
impl StructuralPartialEq for ChannelIndex
Auto Trait Implementations§
impl Freeze for ChannelIndex
impl RefUnwindSafe for ChannelIndex
impl Send for ChannelIndex
impl Sync for ChannelIndex
impl Unpin for ChannelIndex
impl UnwindSafe for ChannelIndex
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