pub struct AttrAsrlRtsState { /* private fields */ }
Expand description
VI_ATTR_ASRL_RTS_STATE is used to manually assert or unassert the Request To Send (RTS) output signal. When the VI_ATTR_ASRL_FLOW_CNTRL attribute is set to VI_ASRL_FLOW_RTS_CTS , this attribute is Read Only. Querying the value will return VI_STATE_UNKNOWN .
Implementations
sourceimpl AttrAsrlRtsState
impl AttrAsrlRtsState
pub fn into_inner(self) -> ViInt16
sourceimpl AttrAsrlRtsState
impl AttrAsrlRtsState
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 AttrAsrlRtsState
impl AttrInner for AttrAsrlRtsState
sourceimpl Clone for AttrAsrlRtsState
impl Clone for AttrAsrlRtsState
sourcefn clone(&self) -> AttrAsrlRtsState
fn clone(&self) -> AttrAsrlRtsState
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 AttrAsrlRtsState
impl Debug for AttrAsrlRtsState
sourceimpl From<AttrAsrlRtsState> for Attribute
impl From<AttrAsrlRtsState> for Attribute
sourcefn from(s: AttrAsrlRtsState) -> Self
fn from(s: AttrAsrlRtsState) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrAsrlRtsState
impl Hash for AttrAsrlRtsState
sourceimpl Ord for AttrAsrlRtsState
impl Ord for AttrAsrlRtsState
sourceimpl PartialEq<AttrAsrlRtsState> for AttrAsrlRtsState
impl PartialEq<AttrAsrlRtsState> for AttrAsrlRtsState
sourcefn eq(&self, other: &AttrAsrlRtsState) -> bool
fn eq(&self, other: &AttrAsrlRtsState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrAsrlRtsState) -> bool
fn ne(&self, other: &AttrAsrlRtsState) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrAsrlRtsState> for AttrAsrlRtsState
impl PartialOrd<AttrAsrlRtsState> for AttrAsrlRtsState
sourcefn partial_cmp(&self, other: &AttrAsrlRtsState) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrAsrlRtsState) -> 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 AttrAsrlRtsState
impl StructuralEq for AttrAsrlRtsState
impl StructuralPartialEq for AttrAsrlRtsState
Auto Trait Implementations
impl RefUnwindSafe for AttrAsrlRtsState
impl Send for AttrAsrlRtsState
impl Sync for AttrAsrlRtsState
impl Unpin for AttrAsrlRtsState
impl UnwindSafe for AttrAsrlRtsState
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