pub struct AttrMemSize { /* private fields */ }
Expand description
VI_ATTR_MEM_SIZE , VI_ATTR_MEM_SIZE_32 , and VI_ATTR_MEM_SIZE_64 specify the size of memory requested by the device in VXIbus address space. If the value of VI_ATTR_MEM_SPACE is VI_A16_SPACE , the value of this attribute is meaningless for the given VXI device.
Implementations
sourceimpl AttrMemSize
impl AttrMemSize
pub fn into_inner(self) -> ViBusSize
sourceimpl AttrMemSize
impl AttrMemSize
pub unsafe fn new_unchecked(value: ViBusSize) -> Self
pub fn new_checked(value: ViBusSize) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrMemSize
impl AttrInner for AttrMemSize
sourceimpl Clone for AttrMemSize
impl Clone for AttrMemSize
sourcefn clone(&self) -> AttrMemSize
fn clone(&self) -> AttrMemSize
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 AttrMemSize
impl Debug for AttrMemSize
sourceimpl From<AttrMemSize> for Attribute
impl From<AttrMemSize> for Attribute
sourcefn from(s: AttrMemSize) -> Self
fn from(s: AttrMemSize) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrMemSize
impl Hash for AttrMemSize
sourceimpl Ord for AttrMemSize
impl Ord for AttrMemSize
sourceimpl PartialEq<AttrMemSize> for AttrMemSize
impl PartialEq<AttrMemSize> for AttrMemSize
sourcefn eq(&self, other: &AttrMemSize) -> bool
fn eq(&self, other: &AttrMemSize) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrMemSize) -> bool
fn ne(&self, other: &AttrMemSize) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrMemSize> for AttrMemSize
impl PartialOrd<AttrMemSize> for AttrMemSize
sourcefn partial_cmp(&self, other: &AttrMemSize) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrMemSize) -> 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 AttrMemSize
impl StructuralEq for AttrMemSize
impl StructuralPartialEq for AttrMemSize
Auto Trait Implementations
impl RefUnwindSafe for AttrMemSize
impl Send for AttrMemSize
impl Sync for AttrMemSize
impl Unpin for AttrMemSize
impl UnwindSafe for AttrMemSize
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