pub struct AttrTrigId { /* private fields */ }
Expand description
VI_ATTR_TRIG_ID is the identifier for the current triggering mechanism. VI_ATTR_TRIG_ID is Read/Write when the corresponding session is not enabled to receive trigger events. When the session is enabled to receive trigger events, the attribute VI_ATTR_TRIG_ID is Read Only.
Implementations
sourceimpl AttrTrigId
impl AttrTrigId
pub fn into_inner(self) -> ViInt16
sourceimpl AttrTrigId
impl AttrTrigId
pub const VI_TRIG_ECL0: Self = Self{value: vs::VI_TRIG_ECL0 as _,}
pub const VI_TRIG_TTL0: Self = Self{value: vs::VI_TRIG_TTL0 as _,}
pub const VI_TRIG_TTL1: Self = Self{value: vs::VI_TRIG_TTL1 as _,}
pub const VI_TRIG_TTL2: Self = Self{value: vs::VI_TRIG_TTL2 as _,}
pub const VI_TRIG_TTL3: Self = Self{value: vs::VI_TRIG_TTL3 as _,}
pub const VI_TRIG_TTL4: Self = Self{value: vs::VI_TRIG_TTL4 as _,}
pub const VI_TRIG_TTL5: Self = Self{value: vs::VI_TRIG_TTL5 as _,}
pub const VI_TRIG_TTL6: Self = Self{value: vs::VI_TRIG_TTL6 as _,}
pub const VI_TRIG_SW: 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 AttrTrigId
impl AttrInner for AttrTrigId
sourceimpl Clone for AttrTrigId
impl Clone for AttrTrigId
sourcefn clone(&self) -> AttrTrigId
fn clone(&self) -> AttrTrigId
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 AttrTrigId
impl Debug for AttrTrigId
sourceimpl Default for AttrTrigId
impl Default for AttrTrigId
sourceimpl From<AttrTrigId> for Attribute
impl From<AttrTrigId> for Attribute
sourcefn from(s: AttrTrigId) -> Self
fn from(s: AttrTrigId) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrTrigId
impl Hash for AttrTrigId
sourceimpl Ord for AttrTrigId
impl Ord for AttrTrigId
sourceimpl PartialEq<AttrTrigId> for AttrTrigId
impl PartialEq<AttrTrigId> for AttrTrigId
sourcefn eq(&self, other: &AttrTrigId) -> bool
fn eq(&self, other: &AttrTrigId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrTrigId) -> bool
fn ne(&self, other: &AttrTrigId) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrTrigId> for AttrTrigId
impl PartialOrd<AttrTrigId> for AttrTrigId
sourcefn partial_cmp(&self, other: &AttrTrigId) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrTrigId) -> 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 AttrTrigId
impl StructuralEq for AttrTrigId
impl StructuralPartialEq for AttrTrigId
Auto Trait Implementations
impl RefUnwindSafe for AttrTrigId
impl Send for AttrTrigId
impl Sync for AttrTrigId
impl Unpin for AttrTrigId
impl UnwindSafe for AttrTrigId
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