Struct PhoneSimState
#[repr(transparent)]pub struct PhoneSimState(pub i32);Tuple Fields§
§0: i32Implementations§
§impl PhoneSimState
impl PhoneSimState
pub const Unknown: Self
pub const PinNotRequired: Self
pub const PinUnlocked: Self
pub const PinLocked: Self
pub const PukLocked: Self
pub const NotInserted: Self
pub const Invalid: Self
pub const Disabled: Self
Trait Implementations§
§impl Clone for PhoneSimState
impl Clone for PhoneSimState
§fn clone(&self) -> PhoneSimState
fn clone(&self) -> PhoneSimState
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 more§impl Debug for PhoneSimState
impl Debug for PhoneSimState
§impl Default for PhoneSimState
impl Default for PhoneSimState
§fn default() -> PhoneSimState
fn default() -> PhoneSimState
Returns the “default value” for a type. Read more
§impl PartialEq for PhoneSimState
impl PartialEq for PhoneSimState
impl Copy for PhoneSimState
impl Eq for PhoneSimState
impl StructuralPartialEq for PhoneSimState
Auto Trait Implementations§
impl Freeze for PhoneSimState
impl RefUnwindSafe for PhoneSimState
impl Send for PhoneSimState
impl Sync for PhoneSimState
impl Unpin for PhoneSimState
impl UnwindSafe for PhoneSimState
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