pub struct AttrMaxQueueLength { /* private fields */ }
Expand description
VI_ATTR_MAX_QUEUE_LENGTH specifies the maximum number of events that can be queued at any time on the given session. Events that occur after the queue has become full will be discarded. VI_ATTR_MAX_QUEUE_LENGTH is a Read/Write attribute until the first time viEnableEvent() is called on a session. Thereafter, this attribute is Read Only.
Implementations
sourceimpl AttrMaxQueueLength
impl AttrMaxQueueLength
pub fn into_inner(self) -> ViUInt32
sourceimpl AttrMaxQueueLength
impl AttrMaxQueueLength
pub unsafe fn new_unchecked(value: ViUInt32) -> Self
pub fn new_checked(value: ViUInt32) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrMaxQueueLength
impl AttrInner for AttrMaxQueueLength
sourceimpl Clone for AttrMaxQueueLength
impl Clone for AttrMaxQueueLength
sourcefn clone(&self) -> AttrMaxQueueLength
fn clone(&self) -> AttrMaxQueueLength
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 AttrMaxQueueLength
impl Debug for AttrMaxQueueLength
sourceimpl Default for AttrMaxQueueLength
impl Default for AttrMaxQueueLength
sourceimpl From<AttrMaxQueueLength> for Attribute
impl From<AttrMaxQueueLength> for Attribute
sourcefn from(s: AttrMaxQueueLength) -> Self
fn from(s: AttrMaxQueueLength) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrMaxQueueLength
impl Hash for AttrMaxQueueLength
sourceimpl Ord for AttrMaxQueueLength
impl Ord for AttrMaxQueueLength
sourceimpl PartialEq<AttrMaxQueueLength> for AttrMaxQueueLength
impl PartialEq<AttrMaxQueueLength> for AttrMaxQueueLength
sourcefn eq(&self, other: &AttrMaxQueueLength) -> bool
fn eq(&self, other: &AttrMaxQueueLength) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrMaxQueueLength) -> bool
fn ne(&self, other: &AttrMaxQueueLength) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrMaxQueueLength> for AttrMaxQueueLength
impl PartialOrd<AttrMaxQueueLength> for AttrMaxQueueLength
sourcefn partial_cmp(&self, other: &AttrMaxQueueLength) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrMaxQueueLength) -> 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 AttrMaxQueueLength
impl StructuralEq for AttrMaxQueueLength
impl StructuralPartialEq for AttrMaxQueueLength
Auto Trait Implementations
impl RefUnwindSafe for AttrMaxQueueLength
impl Send for AttrMaxQueueLength
impl Sync for AttrMaxQueueLength
impl Unpin for AttrMaxQueueLength
impl UnwindSafe for AttrMaxQueueLength
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