pub struct AttrAsrlDtrState { /* private fields */ }
Expand description
VI_ATTR_ASRL_DTR_STATE shows the current state of the Data Terminal Ready (DTR) input signal. When the VI_ATTR_ASRL_FLOW_CNTRL attribute is set to VI_ASRL_FLOW_DTR_DSR , this attribute is Read Only. Querying the value will return VI_STATE_UNKNOWN .
Implementations
sourceimpl AttrAsrlDtrState
impl AttrAsrlDtrState
pub fn into_inner(self) -> ViInt16
sourceimpl AttrAsrlDtrState
impl AttrAsrlDtrState
pub const VI_STATE_ASSERTED: Self = Self{value: 1 as _,}
pub const VI_STATE_UNASSERTED: Self = Self{value: 0 as _,}
pub const VI_STATE_UNKNOWN: Self = Self{value: -1 as _,}
pub unsafe fn new_unchecked(value: ViInt16) -> Self
pub fn new_checked(value: ViInt16) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrAsrlDtrState
impl AttrInner for AttrAsrlDtrState
sourceimpl Clone for AttrAsrlDtrState
impl Clone for AttrAsrlDtrState
sourcefn clone(&self) -> AttrAsrlDtrState
fn clone(&self) -> AttrAsrlDtrState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttrAsrlDtrState
impl Debug for AttrAsrlDtrState
sourceimpl From<AttrAsrlDtrState> for Attribute
impl From<AttrAsrlDtrState> for Attribute
sourcefn from(s: AttrAsrlDtrState) -> Self
fn from(s: AttrAsrlDtrState) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrAsrlDtrState
impl Hash for AttrAsrlDtrState
sourceimpl Ord for AttrAsrlDtrState
impl Ord for AttrAsrlDtrState
sourceimpl PartialEq<AttrAsrlDtrState> for AttrAsrlDtrState
impl PartialEq<AttrAsrlDtrState> for AttrAsrlDtrState
sourcefn eq(&self, other: &AttrAsrlDtrState) -> bool
fn eq(&self, other: &AttrAsrlDtrState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrAsrlDtrState) -> bool
fn ne(&self, other: &AttrAsrlDtrState) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrAsrlDtrState> for AttrAsrlDtrState
impl PartialOrd<AttrAsrlDtrState> for AttrAsrlDtrState
sourcefn partial_cmp(&self, other: &AttrAsrlDtrState) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrAsrlDtrState) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for AttrAsrlDtrState
impl StructuralEq for AttrAsrlDtrState
impl StructuralPartialEq for AttrAsrlDtrState
Auto Trait Implementations
impl RefUnwindSafe for AttrAsrlDtrState
impl Send for AttrAsrlDtrState
impl Sync for AttrAsrlDtrState
impl Unpin for AttrAsrlDtrState
impl UnwindSafe for AttrAsrlDtrState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more