pub struct AttrPxiMemTypeBar0 { /* private fields */ }
Expand description
Memory type used by the device in the specified BAR (if applicable).
Implementations
sourceimpl AttrPxiMemTypeBar0
impl AttrPxiMemTypeBar0
pub fn into_inner(self) -> ViUInt16
sourceimpl AttrPxiMemTypeBar0
impl AttrPxiMemTypeBar0
pub const VI_PXI_ADDR_NONE: Self = Self{value: 0 as _,}
pub const VI_PXI_ADDR_MEM: Self = Self{value: 1 as _,}
pub const VI_PXI_ADDR_IO: 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 AttrPxiMemTypeBar0
impl AttrInner for AttrPxiMemTypeBar0
sourceimpl Clone for AttrPxiMemTypeBar0
impl Clone for AttrPxiMemTypeBar0
sourcefn clone(&self) -> AttrPxiMemTypeBar0
fn clone(&self) -> AttrPxiMemTypeBar0
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 AttrPxiMemTypeBar0
impl Debug for AttrPxiMemTypeBar0
sourceimpl From<AttrPxiMemTypeBar0> for Attribute
impl From<AttrPxiMemTypeBar0> for Attribute
sourcefn from(s: AttrPxiMemTypeBar0) -> Self
fn from(s: AttrPxiMemTypeBar0) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrPxiMemTypeBar0
impl Hash for AttrPxiMemTypeBar0
sourceimpl Ord for AttrPxiMemTypeBar0
impl Ord for AttrPxiMemTypeBar0
sourceimpl PartialEq<AttrPxiMemTypeBar0> for AttrPxiMemTypeBar0
impl PartialEq<AttrPxiMemTypeBar0> for AttrPxiMemTypeBar0
sourcefn eq(&self, other: &AttrPxiMemTypeBar0) -> bool
fn eq(&self, other: &AttrPxiMemTypeBar0) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrPxiMemTypeBar0) -> bool
fn ne(&self, other: &AttrPxiMemTypeBar0) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrPxiMemTypeBar0> for AttrPxiMemTypeBar0
impl PartialOrd<AttrPxiMemTypeBar0> for AttrPxiMemTypeBar0
sourcefn partial_cmp(&self, other: &AttrPxiMemTypeBar0) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrPxiMemTypeBar0) -> 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 AttrPxiMemTypeBar0
impl StructuralEq for AttrPxiMemTypeBar0
impl StructuralPartialEq for AttrPxiMemTypeBar0
Auto Trait Implementations
impl RefUnwindSafe for AttrPxiMemTypeBar0
impl Send for AttrPxiMemTypeBar0
impl Sync for AttrPxiMemTypeBar0
impl Unpin for AttrPxiMemTypeBar0
impl UnwindSafe for AttrPxiMemTypeBar0
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