pub struct AttrAsrlParity { /* private fields */ }
Expand description
VI_ATTR_ASRL_PARITY is the parity used with every frame transmitted and received.
Implementations
sourceimpl AttrAsrlParity
impl AttrAsrlParity
pub fn into_inner(self) -> ViUInt16
sourceimpl AttrAsrlParity
impl AttrAsrlParity
pub const VI_ASRL_PAR_NONE: Self = Self{value: 0 as _,}
pub const VI_ASRL_PAR_ODD: Self = Self{value: 1 as _,}
pub const VI_ASRL_PAR_EVEN: Self = Self{value: 2 as _,}
pub const VI_ASRL_PAR_MARK: Self = Self{value: 3 as _,}
pub const VI_ASRL_PAR_SPACE: Self = Self{value: 4 as _,}
pub unsafe fn new_unchecked(value: ViUInt16) -> Self
pub fn new_checked(value: ViUInt16) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrAsrlParity
impl AttrInner for AttrAsrlParity
sourceimpl Clone for AttrAsrlParity
impl Clone for AttrAsrlParity
sourcefn clone(&self) -> AttrAsrlParity
fn clone(&self) -> AttrAsrlParity
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 AttrAsrlParity
impl Debug for AttrAsrlParity
sourceimpl Default for AttrAsrlParity
impl Default for AttrAsrlParity
sourceimpl From<AttrAsrlParity> for Attribute
impl From<AttrAsrlParity> for Attribute
sourcefn from(s: AttrAsrlParity) -> Self
fn from(s: AttrAsrlParity) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrAsrlParity
impl Hash for AttrAsrlParity
sourceimpl Ord for AttrAsrlParity
impl Ord for AttrAsrlParity
sourceimpl PartialEq<AttrAsrlParity> for AttrAsrlParity
impl PartialEq<AttrAsrlParity> for AttrAsrlParity
sourcefn eq(&self, other: &AttrAsrlParity) -> bool
fn eq(&self, other: &AttrAsrlParity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrAsrlParity) -> bool
fn ne(&self, other: &AttrAsrlParity) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrAsrlParity> for AttrAsrlParity
impl PartialOrd<AttrAsrlParity> for AttrAsrlParity
sourcefn partial_cmp(&self, other: &AttrAsrlParity) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrAsrlParity) -> 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 AttrAsrlParity
impl StructuralEq for AttrAsrlParity
impl StructuralPartialEq for AttrAsrlParity
Auto Trait Implementations
impl RefUnwindSafe for AttrAsrlParity
impl Send for AttrAsrlParity
impl Sync for AttrAsrlParity
impl Unpin for AttrAsrlParity
impl UnwindSafe for AttrAsrlParity
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