pub struct UnknownArchitecture(String);Expand description
An unknown architecture that is a valid alpm-architecture.
§Note
This type can only be created via SystemArchitecture.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for UnknownArchitecture
impl AsRef<str> for UnknownArchitecture
Source§impl Clone for UnknownArchitecture
impl Clone for UnknownArchitecture
Source§fn clone(&self) -> UnknownArchitecture
fn clone(&self) -> UnknownArchitecture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnknownArchitecture
impl Debug for UnknownArchitecture
Source§impl<'de> Deserialize<'de> for UnknownArchitecture
impl<'de> Deserialize<'de> for UnknownArchitecture
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UnknownArchitecture
impl Display for UnknownArchitecture
Source§impl From<UnknownArchitecture> for Architecture
impl From<UnknownArchitecture> for Architecture
Source§fn from(value: UnknownArchitecture) -> Self
fn from(value: UnknownArchitecture) -> Self
Converts an UnknownArchitecture into an Architecture.
Source§impl From<UnknownArchitecture> for SystemArchitecture
impl From<UnknownArchitecture> for SystemArchitecture
Source§fn from(value: UnknownArchitecture) -> Self
fn from(value: UnknownArchitecture) -> Self
Converts an UnknownArchitecture into a SystemArchitecture.
Source§impl Hash for UnknownArchitecture
impl Hash for UnknownArchitecture
Source§impl Ord for UnknownArchitecture
impl Ord for UnknownArchitecture
Source§fn cmp(&self, other: &UnknownArchitecture) -> Ordering
fn cmp(&self, other: &UnknownArchitecture) -> Ordering
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
Source§impl PartialEq for UnknownArchitecture
impl PartialEq for UnknownArchitecture
Source§fn eq(&self, other: &UnknownArchitecture) -> bool
fn eq(&self, other: &UnknownArchitecture) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UnknownArchitecture
impl PartialOrd for UnknownArchitecture
Source§impl Serialize for UnknownArchitecture
impl Serialize for UnknownArchitecture
impl Eq for UnknownArchitecture
impl StructuralPartialEq for UnknownArchitecture
Auto Trait Implementations§
impl Freeze for UnknownArchitecture
impl RefUnwindSafe for UnknownArchitecture
impl Send for UnknownArchitecture
impl Sync for UnknownArchitecture
impl Unpin for UnknownArchitecture
impl UnsafeUnpin for UnknownArchitecture
impl UnwindSafe for UnknownArchitecture
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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