#[repr(C)]pub struct ConnectionChangeType {
pub value: u32,
}Expand description
Fields§
§value: u32Implementations§
Source§impl ConnectionChangeType
impl ConnectionChangeType
pub fn connected() -> Self
pub fn disconnected() -> Self
pub fn config_change() -> Self
Trait Implementations§
Source§impl ClassIdentity for ConnectionChangeType
impl ClassIdentity for ConnectionChangeType
Source§impl Clone for ConnectionChangeType
impl Clone for ConnectionChangeType
Source§fn clone(&self) -> ConnectionChangeType
fn clone(&self) -> ConnectionChangeType
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 ConnectionChangeType
impl Debug for ConnectionChangeType
Source§impl PartialEq for ConnectionChangeType
impl PartialEq for ConnectionChangeType
impl Copy for ConnectionChangeType
impl Eq for ConnectionChangeType
impl StructuralPartialEq for ConnectionChangeType
Auto Trait Implementations§
impl Freeze for ConnectionChangeType
impl RefUnwindSafe for ConnectionChangeType
impl Send for ConnectionChangeType
impl Sync for ConnectionChangeType
impl Unpin for ConnectionChangeType
impl UnwindSafe for ConnectionChangeType
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)