pub struct AttrPxiSlotLwidth { /* private fields */ }
Expand description
VI_ATTR_PXI_SLOT_LWIDTH specifies the PCI Express link width of the PXI Express peripheral slot in which the device resides. A value of -1 indicates that the device is not a PXI Express device.
Implementations
sourceimpl AttrPxiSlotLwidth
impl AttrPxiSlotLwidth
pub fn into_inner(self) -> ViInt16
sourceimpl AttrPxiSlotLwidth
impl AttrPxiSlotLwidth
pub unsafe fn new_unchecked(value: ViInt16) -> Self
pub fn new_checked(value: ViInt16) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrPxiSlotLwidth
impl AttrInner for AttrPxiSlotLwidth
sourceimpl Clone for AttrPxiSlotLwidth
impl Clone for AttrPxiSlotLwidth
sourcefn clone(&self) -> AttrPxiSlotLwidth
fn clone(&self) -> AttrPxiSlotLwidth
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 AttrPxiSlotLwidth
impl Debug for AttrPxiSlotLwidth
sourceimpl From<AttrPxiSlotLwidth> for Attribute
impl From<AttrPxiSlotLwidth> for Attribute
sourcefn from(s: AttrPxiSlotLwidth) -> Self
fn from(s: AttrPxiSlotLwidth) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrPxiSlotLwidth
impl Hash for AttrPxiSlotLwidth
sourceimpl Ord for AttrPxiSlotLwidth
impl Ord for AttrPxiSlotLwidth
sourceimpl PartialEq<AttrPxiSlotLwidth> for AttrPxiSlotLwidth
impl PartialEq<AttrPxiSlotLwidth> for AttrPxiSlotLwidth
sourcefn eq(&self, other: &AttrPxiSlotLwidth) -> bool
fn eq(&self, other: &AttrPxiSlotLwidth) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrPxiSlotLwidth) -> bool
fn ne(&self, other: &AttrPxiSlotLwidth) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrPxiSlotLwidth> for AttrPxiSlotLwidth
impl PartialOrd<AttrPxiSlotLwidth> for AttrPxiSlotLwidth
sourcefn partial_cmp(&self, other: &AttrPxiSlotLwidth) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrPxiSlotLwidth) -> 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 AttrPxiSlotLwidth
impl StructuralEq for AttrPxiSlotLwidth
impl StructuralPartialEq for AttrPxiSlotLwidth
Auto Trait Implementations
impl RefUnwindSafe for AttrPxiSlotLwidth
impl Send for AttrPxiSlotLwidth
impl Sync for AttrPxiSlotLwidth
impl Unpin for AttrPxiSlotLwidth
impl UnwindSafe for AttrPxiSlotLwidth
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