pub struct AttrSlot { /* private fields */ }
Expand description
VI_ATTR_SLOT specifies the physical slot location of the device. If the slot number is not known, VI_UNKNOWN_SLOT is returned.
Implementations
sourceimpl AttrSlot
impl AttrSlot
pub fn into_inner(self) -> ViInt16
sourceimpl AttrSlot
impl AttrSlot
pub const VI_UNKNOWN_SLOT: Self = Self{value: -1 as _,}
pub unsafe fn new_unchecked(value: ViInt16) -> Self
pub fn new_checked(value: ViInt16) -> Option<Self>
Trait Implementations
sourceimpl Ord for AttrSlot
impl Ord for AttrSlot
sourceimpl PartialOrd<AttrSlot> for AttrSlot
impl PartialOrd<AttrSlot> for AttrSlot
sourcefn partial_cmp(&self, other: &AttrSlot) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrSlot) -> 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 AttrSlot
impl StructuralEq for AttrSlot
impl StructuralPartialEq for AttrSlot
Auto Trait Implementations
impl RefUnwindSafe for AttrSlot
impl Send for AttrSlot
impl Sync for AttrSlot
impl Unpin for AttrSlot
impl UnwindSafe for AttrSlot
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