pub struct AttrMemSpace { /* private fields */ }
Expand description
VI_ATTR_MEM_SPACE specifies the VXIbus address space used by the device. The three types are A16, A24, or A32 memory address space. A VXI device with memory in A24 or A32 space also has registers accessible in the configuration section of A16 space. A VME device with memory in multiple address spaces requires one VISA resource for each address space used.
Implementations
sourceimpl AttrMemSpace
impl AttrMemSpace
pub fn into_inner(self) -> ViUInt16
sourceimpl AttrMemSpace
impl AttrMemSpace
pub const VI_A16_SPACE: Self = Self{value: 1 as _,}
pub const VI_A24_SPACE: Self = Self{value: 2 as _,}
pub const VI_A32_SPACE: Self = Self{value: 3 as _,}
pub unsafe fn new_unchecked(value: ViUInt16) -> Self
pub fn new_checked(value: ViUInt16) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrMemSpace
impl AttrInner for AttrMemSpace
sourceimpl Clone for AttrMemSpace
impl Clone for AttrMemSpace
sourcefn clone(&self) -> AttrMemSpace
fn clone(&self) -> AttrMemSpace
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 AttrMemSpace
impl Debug for AttrMemSpace
sourceimpl Default for AttrMemSpace
impl Default for AttrMemSpace
sourceimpl From<AttrMemSpace> for Attribute
impl From<AttrMemSpace> for Attribute
sourcefn from(s: AttrMemSpace) -> Self
fn from(s: AttrMemSpace) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrMemSpace
impl Hash for AttrMemSpace
sourceimpl Ord for AttrMemSpace
impl Ord for AttrMemSpace
sourceimpl PartialEq<AttrMemSpace> for AttrMemSpace
impl PartialEq<AttrMemSpace> for AttrMemSpace
sourcefn eq(&self, other: &AttrMemSpace) -> bool
fn eq(&self, other: &AttrMemSpace) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrMemSpace) -> bool
fn ne(&self, other: &AttrMemSpace) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrMemSpace> for AttrMemSpace
impl PartialOrd<AttrMemSpace> for AttrMemSpace
sourcefn partial_cmp(&self, other: &AttrMemSpace) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrMemSpace) -> 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 AttrMemSpace
impl StructuralEq for AttrMemSpace
impl StructuralPartialEq for AttrMemSpace
Auto Trait Implementations
impl RefUnwindSafe for AttrMemSpace
impl Send for AttrMemSpace
impl Sync for AttrMemSpace
impl Unpin for AttrMemSpace
impl UnwindSafe for AttrMemSpace
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