#[repr(u32)]pub enum NetworkSlot {
First = 0,
Second = 1,
Third = 2,
}Expand description
Represents a network slot, like in the System Settings
Variants§
First = 0
The first network slot
Second = 1
The second network slot
Third = 2
The third network slot
Trait Implementations§
Source§impl Clone for NetworkSlot
impl Clone for NetworkSlot
Source§fn clone(&self) -> NetworkSlot
fn clone(&self) -> NetworkSlot
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkSlot
impl Debug for NetworkSlot
Source§impl Ord for NetworkSlot
impl Ord for NetworkSlot
Source§impl PartialEq for NetworkSlot
impl PartialEq for NetworkSlot
Source§impl PartialOrd for NetworkSlot
impl PartialOrd for NetworkSlot
Source§fn partial_cmp(&self, other: &NetworkSlot) -> Option<Ordering>
fn partial_cmp(&self, other: &NetworkSlot) -> Option<Ordering>
impl Copy for NetworkSlot
impl Eq for NetworkSlot
impl StructuralPartialEq for NetworkSlot
Auto Trait Implementations§
impl Freeze for NetworkSlot
impl RefUnwindSafe for NetworkSlot
impl Send for NetworkSlot
impl Sync for NetworkSlot
impl Unpin for NetworkSlot
impl UnwindSafe for NetworkSlot
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)