pub struct AttrAsrlDsrState { /* private fields */ }
Expand description
VI_ATTR_ASRL_DSR_STATE shows the current state of the Data Set Ready (DSR) input signal.
Implementations
sourceimpl AttrAsrlDsrState
impl AttrAsrlDsrState
pub fn into_inner(self) -> ViInt16
sourceimpl AttrAsrlDsrState
impl AttrAsrlDsrState
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 AttrAsrlDsrState
impl AttrInner for AttrAsrlDsrState
sourceimpl Clone for AttrAsrlDsrState
impl Clone for AttrAsrlDsrState
sourcefn clone(&self) -> AttrAsrlDsrState
fn clone(&self) -> AttrAsrlDsrState
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 AttrAsrlDsrState
impl Debug for AttrAsrlDsrState
sourceimpl From<AttrAsrlDsrState> for Attribute
impl From<AttrAsrlDsrState> for Attribute
sourcefn from(s: AttrAsrlDsrState) -> Self
fn from(s: AttrAsrlDsrState) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrAsrlDsrState
impl Hash for AttrAsrlDsrState
sourceimpl Ord for AttrAsrlDsrState
impl Ord for AttrAsrlDsrState
sourceimpl PartialEq<AttrAsrlDsrState> for AttrAsrlDsrState
impl PartialEq<AttrAsrlDsrState> for AttrAsrlDsrState
sourcefn eq(&self, other: &AttrAsrlDsrState) -> bool
fn eq(&self, other: &AttrAsrlDsrState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrAsrlDsrState) -> bool
fn ne(&self, other: &AttrAsrlDsrState) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrAsrlDsrState> for AttrAsrlDsrState
impl PartialOrd<AttrAsrlDsrState> for AttrAsrlDsrState
sourcefn partial_cmp(&self, other: &AttrAsrlDsrState) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrAsrlDsrState) -> 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 AttrAsrlDsrState
impl StructuralEq for AttrAsrlDsrState
impl StructuralPartialEq for AttrAsrlDsrState
Auto Trait Implementations
impl RefUnwindSafe for AttrAsrlDsrState
impl Send for AttrAsrlDsrState
impl Sync for AttrAsrlDsrState
impl Unpin for AttrAsrlDsrState
impl UnwindSafe for AttrAsrlDsrState
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