#[repr(C)]pub struct __once_flag {
pub __data: c_int,
}
Fields§
§__data: c_int
Trait Implementations§
Source§impl Clone for __once_flag
impl Clone for __once_flag
Source§fn clone(&self) -> __once_flag
fn clone(&self) -> __once_flag
Returns a copy 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 moreSource§impl Debug for __once_flag
impl Debug for __once_flag
Source§impl Default for __once_flag
impl Default for __once_flag
Source§fn default() -> __once_flag
fn default() -> __once_flag
Returns the “default value” for a type. Read more
Source§impl PartialEq for __once_flag
impl PartialEq for __once_flag
impl Copy for __once_flag
impl Eq for __once_flag
impl StructuralPartialEq for __once_flag
Auto Trait Implementations§
impl Freeze for __once_flag
impl RefUnwindSafe for __once_flag
impl Send for __once_flag
impl Sync for __once_flag
impl Unpin for __once_flag
impl UnwindSafe for __once_flag
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