Enum minidump::system_info::Cpu [−][src]
pub enum Cpu { X86, X86_64, Ppc, Ppc64, Sparc, Arm, Arm64, Unknown(u16), }
Expand description
Known CPU types
This is a slightly nicer layer over the ProcessorArchitecture
enum defined in
the minidump-common crate.
Variants
Unknown(u16)
Implementations
impl Cpu
[src]
impl Cpu
[src]pub fn from_processor_architecture(arch: u16) -> Cpu
[src]
pub fn from_processor_architecture(arch: u16) -> Cpu
[src]Get a Cpu
value matching the processor_architecture
value from MINIDUMP_SYSTEM_INFO
Trait Implementations
impl Copy for Cpu
[src]
impl StructuralPartialEq for Cpu
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more