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