pub enum Architecture {
Amd64,
Arm64,
}Expand description
Supported Architectures
Variants§
Implementations§
Source§impl Architecture
impl Architecture
pub fn into_model(&self) -> ArchitectureModel
Trait Implementations§
Source§impl Clone for Architecture
impl Clone for Architecture
Source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a duplicate 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 Architecture
impl Debug for Architecture
Source§impl FromStr for Architecture
impl FromStr for Architecture
Source§impl<'a> Into<Architecture> for &'a Architecture
impl<'a> Into<Architecture> for &'a Architecture
Source§fn into(self) -> ArchitectureModel
fn into(self) -> ArchitectureModel
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for Architecture
impl PartialEq for Architecture
Source§impl TryFrom<&str> for Architecture
impl TryFrom<&str> for Architecture
Source§impl ValueEnum for Architecture
impl ValueEnum for Architecture
impl Copy for Architecture
impl Eq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations§
impl Freeze for Architecture
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.