Struct PhoneNetworkState
#[repr(transparent)]pub struct PhoneNetworkState(pub i32);Tuple Fields§
§0: i32Implementations§
§impl PhoneNetworkState
impl PhoneNetworkState
pub const Unknown: Self
pub const NoSignal: Self
pub const Deregistered: Self
pub const Denied: Self
pub const Searching: Self
pub const Home: Self
pub const RoamingInternational: Self
pub const RoamingDomestic: Self
Trait Implementations§
§impl Clone for PhoneNetworkState
impl Clone for PhoneNetworkState
§fn clone(&self) -> PhoneNetworkState
fn clone(&self) -> PhoneNetworkState
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 PhoneNetworkState
impl Debug for PhoneNetworkState
§impl Default for PhoneNetworkState
impl Default for PhoneNetworkState
§fn default() -> PhoneNetworkState
fn default() -> PhoneNetworkState
Returns the “default value” for a type. Read more
§impl PartialEq for PhoneNetworkState
impl PartialEq for PhoneNetworkState
impl Copy for PhoneNetworkState
impl Eq for PhoneNetworkState
impl StructuralPartialEq for PhoneNetworkState
Auto Trait Implementations§
impl Freeze for PhoneNetworkState
impl RefUnwindSafe for PhoneNetworkState
impl Send for PhoneNetworkState
impl Sync for PhoneNetworkState
impl Unpin for PhoneNetworkState
impl UnwindSafe for PhoneNetworkState
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