pub struct AttrSrcIncrement { /* private fields */ }
Expand description
VI_ATTR_SRC_INCREMENT is used in the viMoveIn XX () operations to specify by how many elements the source offset is to be incremented after every transfer. The default value of this attribute is 1 (that is, the source address will be incremented by 1 after each transfer), and the viMoveIn XX () operations move from consecutive elements. If this attribute is set to 0, the viMoveIn XX () operations will always read from the same element, essentially treating the source as a FIFO register.
Implementations
sourceimpl AttrSrcIncrement
impl AttrSrcIncrement
pub fn into_inner(self) -> ViInt32
sourceimpl AttrSrcIncrement
impl AttrSrcIncrement
pub unsafe fn new_unchecked(value: ViInt32) -> Self
pub fn new_checked(value: ViInt32) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrSrcIncrement
impl AttrInner for AttrSrcIncrement
sourceimpl Clone for AttrSrcIncrement
impl Clone for AttrSrcIncrement
sourcefn clone(&self) -> AttrSrcIncrement
fn clone(&self) -> AttrSrcIncrement
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 AttrSrcIncrement
impl Debug for AttrSrcIncrement
sourceimpl Default for AttrSrcIncrement
impl Default for AttrSrcIncrement
sourceimpl From<AttrSrcIncrement> for Attribute
impl From<AttrSrcIncrement> for Attribute
sourcefn from(s: AttrSrcIncrement) -> Self
fn from(s: AttrSrcIncrement) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrSrcIncrement
impl Hash for AttrSrcIncrement
sourceimpl Ord for AttrSrcIncrement
impl Ord for AttrSrcIncrement
sourceimpl PartialEq<AttrSrcIncrement> for AttrSrcIncrement
impl PartialEq<AttrSrcIncrement> for AttrSrcIncrement
sourcefn eq(&self, other: &AttrSrcIncrement) -> bool
fn eq(&self, other: &AttrSrcIncrement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrSrcIncrement) -> bool
fn ne(&self, other: &AttrSrcIncrement) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrSrcIncrement> for AttrSrcIncrement
impl PartialOrd<AttrSrcIncrement> for AttrSrcIncrement
sourcefn partial_cmp(&self, other: &AttrSrcIncrement) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrSrcIncrement) -> 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 AttrSrcIncrement
impl StructuralEq for AttrSrcIncrement
impl StructuralPartialEq for AttrSrcIncrement
Auto Trait Implementations
impl RefUnwindSafe for AttrSrcIncrement
impl Send for AttrSrcIncrement
impl Sync for AttrSrcIncrement
impl Unpin for AttrSrcIncrement
impl UnwindSafe for AttrSrcIncrement
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