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