pub struct AttrFdcMode { /* private fields */ }
Expand description
VI_ATTR_FDC_MODE specifies which Fast Data Channel (FDC) mode to use (either normal or stream mode).
Implementations
sourceimpl AttrFdcMode
impl AttrFdcMode
pub fn into_inner(self) -> ViUInt16
sourceimpl AttrFdcMode
impl AttrFdcMode
pub const VI_FDC_NORMAL: Self = Self{value: 1 as _,}
pub const VI_FDC_STREAM: Self = Self{value: 2 as _,}
pub unsafe fn new_unchecked(value: ViUInt16) -> Self
pub fn new_checked(value: ViUInt16) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrFdcMode
impl AttrInner for AttrFdcMode
sourceimpl Clone for AttrFdcMode
impl Clone for AttrFdcMode
sourcefn clone(&self) -> AttrFdcMode
fn clone(&self) -> AttrFdcMode
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 AttrFdcMode
impl Debug for AttrFdcMode
sourceimpl Default for AttrFdcMode
impl Default for AttrFdcMode
sourceimpl From<AttrFdcMode> for Attribute
impl From<AttrFdcMode> for Attribute
sourcefn from(s: AttrFdcMode) -> Self
fn from(s: AttrFdcMode) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrFdcMode
impl Hash for AttrFdcMode
sourceimpl Ord for AttrFdcMode
impl Ord for AttrFdcMode
sourceimpl PartialEq<AttrFdcMode> for AttrFdcMode
impl PartialEq<AttrFdcMode> for AttrFdcMode
sourcefn eq(&self, other: &AttrFdcMode) -> bool
fn eq(&self, other: &AttrFdcMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrFdcMode) -> bool
fn ne(&self, other: &AttrFdcMode) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrFdcMode> for AttrFdcMode
impl PartialOrd<AttrFdcMode> for AttrFdcMode
sourcefn partial_cmp(&self, other: &AttrFdcMode) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrFdcMode) -> 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 AttrFdcMode
impl StructuralEq for AttrFdcMode
impl StructuralPartialEq for AttrFdcMode
Auto Trait Implementations
impl RefUnwindSafe for AttrFdcMode
impl Send for AttrFdcMode
impl Sync for AttrFdcMode
impl Unpin for AttrFdcMode
impl UnwindSafe for AttrFdcMode
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