Expand description
The “vendor” field, which in practice is little more than an arbitrary modifier.
Tuple Fields
0: Cow<'static, str>
Implementations
sourceimpl Vendor
impl Vendor
pub const apple: Vendor = Vendor::new_const("apple")
pub const espressif: Vendor = Vendor::new_const("espressif")
pub const fortanix: Vendor = Vendor::new_const("fortanix")
pub const kmc: Vendor = Vendor::new_const("kmc")
pub const nintendo: Vendor = Vendor::new_const("nintendo")
pub const nvidia: Vendor = Vendor::new_const("nvidia")
pub const pc: Vendor = Vendor::new_const("pc")
pub const sony: Vendor = Vendor::new_const("sony")
pub const sun: Vendor = Vendor::new_const("sun")
pub const unknown: Vendor = Vendor::new_const("unknown")
pub const uwp: Vendor = Vendor::new_const("uwp")
pub const wrs: Vendor = Vendor::new_const("wrs")
Trait Implementations
sourceimpl Ord for Vendor
impl Ord for Vendor
sourceimpl PartialOrd<Vendor> for Vendor
impl PartialOrd<Vendor> for Vendor
sourcefn partial_cmp(&self, other: &Vendor) -> Option<Ordering>
fn partial_cmp(&self, other: &Vendor) -> 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 Vendor
impl StructuralEq for Vendor
impl StructuralPartialEq for Vendor
Auto Trait Implementations
impl RefUnwindSafe for Vendor
impl Send for Vendor
impl Sync for Vendor
impl Unpin for Vendor
impl UnwindSafe for Vendor
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more