pub enum FlatpakArchitecture {
I386,
X86,
AARCH64,
ARM,
ARMEB,
MIPSEL,
MIPS64EL,
}Variants§
Implementations§
Source§impl FlatpakArchitecture
impl FlatpakArchitecture
pub fn to_string(&self) -> String
pub fn from_string(arch: &str) -> Result<FlatpakArchitecture, String>
Trait Implementations§
Source§impl Clone for FlatpakArchitecture
impl Clone for FlatpakArchitecture
Source§fn clone(&self) -> FlatpakArchitecture
fn clone(&self) -> FlatpakArchitecture
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 FlatpakArchitecture
impl Debug for FlatpakArchitecture
Source§impl Default for FlatpakArchitecture
impl Default for FlatpakArchitecture
Source§impl<'de> Deserialize<'de> for FlatpakArchitecture
impl<'de> Deserialize<'de> for FlatpakArchitecture
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 Hash for FlatpakArchitecture
impl Hash for FlatpakArchitecture
Source§impl PartialEq for FlatpakArchitecture
impl PartialEq for FlatpakArchitecture
impl StructuralPartialEq for FlatpakArchitecture
Auto Trait Implementations§
impl Freeze for FlatpakArchitecture
impl RefUnwindSafe for FlatpakArchitecture
impl Send for FlatpakArchitecture
impl Sync for FlatpakArchitecture
impl Unpin for FlatpakArchitecture
impl UnwindSafe for FlatpakArchitecture
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