pub struct InterfaceName(/* private fields */);Expand description
A validated, vendor-neutral interface identifier.
The value is preserved as supplied because interface naming conventions vary across vendors and platforms.
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceName
impl Clone for InterfaceName
Source§impl Debug for InterfaceName
impl Debug for InterfaceName
Source§impl Display for InterfaceName
impl Display for InterfaceName
impl Eq for InterfaceName
Source§impl FromStr for InterfaceName
impl FromStr for InterfaceName
Source§impl Hash for InterfaceName
impl Hash for InterfaceName
Source§impl Ord for InterfaceName
impl Ord for InterfaceName
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InterfaceName
impl PartialEq for InterfaceName
Source§impl PartialOrd for InterfaceName
impl PartialOrd for InterfaceName
impl StructuralPartialEq for InterfaceName
Auto Trait Implementations§
impl Freeze for InterfaceName
impl RefUnwindSafe for InterfaceName
impl Send for InterfaceName
impl Sync for InterfaceName
impl Unpin for InterfaceName
impl UnsafeUnpin for InterfaceName
impl UnwindSafe for InterfaceName
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