Struct visa_rs::enums::attribute::AttrUsbSerialNum
source · pub struct AttrUsbSerialNum { /* private fields */ }
Expand description
VI_ATTR_USB_SERIAL_NUM specifies the USB serial number of this device.
Implementations§
source§impl AttrUsbSerialNum
impl AttrUsbSerialNum
pub fn into_inner(self) -> VisaString
Trait Implementations§
source§impl Clone for AttrUsbSerialNum
impl Clone for AttrUsbSerialNum
source§fn clone(&self) -> AttrUsbSerialNum
fn clone(&self) -> AttrUsbSerialNum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AttrUsbSerialNum
impl Debug for AttrUsbSerialNum
source§impl From<AttrUsbSerialNum> for Attribute
impl From<AttrUsbSerialNum> for Attribute
source§fn from(s: AttrUsbSerialNum) -> Self
fn from(s: AttrUsbSerialNum) -> Self
Converts to this type from the input type.
source§impl Hash for AttrUsbSerialNum
impl Hash for AttrUsbSerialNum
source§impl Ord for AttrUsbSerialNum
impl Ord for AttrUsbSerialNum
source§fn cmp(&self, other: &AttrUsbSerialNum) -> Ordering
fn cmp(&self, other: &AttrUsbSerialNum) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AttrUsbSerialNum
impl PartialEq for AttrUsbSerialNum
source§fn 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 ==
.source§impl PartialOrd for AttrUsbSerialNum
impl PartialOrd for AttrUsbSerialNum
source§fn partial_cmp(&self, other: &AttrUsbSerialNum) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrUsbSerialNum) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl SpecAttr for AttrUsbSerialNum
impl SpecAttr for AttrUsbSerialNum
impl Eq for AttrUsbSerialNum
impl StructuralPartialEq for AttrUsbSerialNum
Auto Trait Implementations§
impl Freeze for AttrUsbSerialNum
impl RefUnwindSafe for AttrUsbSerialNum
impl Send for AttrUsbSerialNum
impl Sync for AttrUsbSerialNum
impl Unpin for AttrUsbSerialNum
impl UnwindSafe for AttrUsbSerialNum
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more