pub struct AttrSrcAccessPriv { /* private fields */ }
Expand description
VI_ATTR_SRC_ACCESS_PRIV specifies the address modifier to be used in high-level access operations, such as viIn XX () and viMoveIn XX () , when reading from the source.
Implementations
sourceimpl AttrSrcAccessPriv
impl AttrSrcAccessPriv
pub fn into_inner(self) -> ViUInt16
sourceimpl AttrSrcAccessPriv
impl AttrSrcAccessPriv
pub const VI_DATA_PRIV: Self = Self{value: 0 as _,}
pub const VI_DATA_NPRIV: Self = Self{value: 1 as _,}
pub const VI_PROG_PRIV: Self = Self{value: 2 as _,}
pub const VI_PROG_NPRIV: Self = Self{value: 3 as _,}
pub const VI_BLCK_PRIV: Self = Self{value: 4 as _,}
pub const VI_BLCK_NPRIV: Self = Self{value: 5 as _,}
pub const VI_D64_PRIV: Self = Self{value: 6 as _,}
pub const VI_D64_NPRIV: Self = Self{value: 7 as _,}
pub unsafe fn new_unchecked(value: ViUInt16) -> Self
pub fn new_checked(value: ViUInt16) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrSrcAccessPriv
impl AttrInner for AttrSrcAccessPriv
sourceimpl Clone for AttrSrcAccessPriv
impl Clone for AttrSrcAccessPriv
sourcefn clone(&self) -> AttrSrcAccessPriv
fn clone(&self) -> AttrSrcAccessPriv
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 AttrSrcAccessPriv
impl Debug for AttrSrcAccessPriv
sourceimpl Default for AttrSrcAccessPriv
impl Default for AttrSrcAccessPriv
sourceimpl From<AttrSrcAccessPriv> for Attribute
impl From<AttrSrcAccessPriv> for Attribute
sourcefn from(s: AttrSrcAccessPriv) -> Self
fn from(s: AttrSrcAccessPriv) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrSrcAccessPriv
impl Hash for AttrSrcAccessPriv
sourceimpl Ord for AttrSrcAccessPriv
impl Ord for AttrSrcAccessPriv
sourceimpl PartialEq<AttrSrcAccessPriv> for AttrSrcAccessPriv
impl PartialEq<AttrSrcAccessPriv> for AttrSrcAccessPriv
sourcefn eq(&self, other: &AttrSrcAccessPriv) -> bool
fn eq(&self, other: &AttrSrcAccessPriv) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrSrcAccessPriv) -> bool
fn ne(&self, other: &AttrSrcAccessPriv) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrSrcAccessPriv> for AttrSrcAccessPriv
impl PartialOrd<AttrSrcAccessPriv> for AttrSrcAccessPriv
sourcefn partial_cmp(&self, other: &AttrSrcAccessPriv) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrSrcAccessPriv) -> 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 AttrSrcAccessPriv
impl StructuralEq for AttrSrcAccessPriv
impl StructuralPartialEq for AttrSrcAccessPriv
Auto Trait Implementations
impl RefUnwindSafe for AttrSrcAccessPriv
impl Send for AttrSrcAccessPriv
impl Sync for AttrSrcAccessPriv
impl Unpin for AttrSrcAccessPriv
impl UnwindSafe for AttrSrcAccessPriv
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