#[repr(C)]pub struct DaqInChanDescriptor {
pub channel: c_int,
pub type_: DaqInChanType,
pub range: Range,
pub reserved: [c_char; 64],
}Expand description
\brief A structure that defines an input channel and its properties. Used with ulDaqInScan().
The struct contains fields for the channel number, type, and range.
Fields§
§channel: c_intThe channel number.
type_: DaqInChanTypeThe type of input for the specified channel, such as analog, digital, or counter.
range: RangeThe range to be used for the specified channel; ignored if not analog.
reserved: [c_char; 64]Reserved for future use
Trait Implementations§
Source§impl Clone for DaqInChanDescriptor
impl Clone for DaqInChanDescriptor
Source§fn clone(&self) -> DaqInChanDescriptor
fn clone(&self) -> DaqInChanDescriptor
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 moreimpl Copy for DaqInChanDescriptor
Auto Trait Implementations§
impl Freeze for DaqInChanDescriptor
impl RefUnwindSafe for DaqInChanDescriptor
impl Send for DaqInChanDescriptor
impl Sync for DaqInChanDescriptor
impl Unpin for DaqInChanDescriptor
impl UnsafeUnpin for DaqInChanDescriptor
impl UnwindSafe for DaqInChanDescriptor
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