pub struct AttrUsbSerialNum { /* private fields */ }
Expand description
VI_ATTR_USB_SERIAL_NUM specifies the USB serial number of this device.
Implementations
sourceimpl AttrUsbSerialNum
impl AttrUsbSerialNum
pub fn into_inner(self) -> ViString
sourceimpl AttrUsbSerialNum
impl AttrUsbSerialNum
pub fn new(value: ViString) -> Self
pub unsafe fn new_unchecked(value: ViString) -> Self
pub fn new_checked(value: ViString) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrUsbSerialNum
impl AttrInner for AttrUsbSerialNum
sourceimpl Clone for AttrUsbSerialNum
impl Clone for AttrUsbSerialNum
sourcefn clone(&self) -> AttrUsbSerialNum
fn clone(&self) -> AttrUsbSerialNum
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 AttrUsbSerialNum
impl Debug for AttrUsbSerialNum
sourceimpl From<AttrUsbSerialNum> for Attribute
impl From<AttrUsbSerialNum> for Attribute
sourcefn from(s: AttrUsbSerialNum) -> Self
fn from(s: AttrUsbSerialNum) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrUsbSerialNum
impl Hash for AttrUsbSerialNum
sourceimpl Ord for AttrUsbSerialNum
impl Ord for AttrUsbSerialNum
sourceimpl PartialEq<AttrUsbSerialNum> for AttrUsbSerialNum
impl PartialEq<AttrUsbSerialNum> for AttrUsbSerialNum
sourcefn eq(&self, other: &AttrUsbSerialNum) -> bool
fn eq(&self, other: &AttrUsbSerialNum) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrUsbSerialNum) -> bool
fn ne(&self, other: &AttrUsbSerialNum) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrUsbSerialNum> for AttrUsbSerialNum
impl PartialOrd<AttrUsbSerialNum> for AttrUsbSerialNum
sourcefn partial_cmp(&self, other: &AttrUsbSerialNum) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrUsbSerialNum) -> 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 AttrUsbSerialNum
impl StructuralEq for AttrUsbSerialNum
impl StructuralPartialEq for AttrUsbSerialNum
Auto Trait Implementations
impl RefUnwindSafe for AttrUsbSerialNum
impl !Send for AttrUsbSerialNum
impl !Sync for AttrUsbSerialNum
impl Unpin for AttrUsbSerialNum
impl UnwindSafe for AttrUsbSerialNum
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