[−][src]Struct spinning::RawRwLock
Implementations
impl RawRwLock
[src]
Trait Implementations
impl Clone for RawRwLock
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RawRwLock
[src]
impl RawRwLock for RawRwLock
[src]
pub const INIT: Self
[src]
type GuardMarker = GuardNoSend
Marker type which determines whether a lock guard should be Send
. Use
one of the GuardSend
or GuardNoSend
helper types here. Read more
pub fn lock_shared(&self)
[src]
pub fn try_lock_shared(&self) -> bool
[src]
pub fn lock_exclusive(&self)
[src]
pub fn try_lock_exclusive(&self) -> bool
[src]
pub unsafe fn unlock_shared(&self)
[src]
pub unsafe fn unlock_exclusive(&self)
[src]
pub fn is_locked(&self) -> bool
[src]
impl RawRwLockDowngrade for RawRwLock
[src]
impl RawRwLockUpgrade for RawRwLock
[src]
pub fn lock_upgradable(&self)
[src]
pub fn try_lock_upgradable(&self) -> bool
[src]
pub unsafe fn unlock_upgradable(&self)
[src]
pub unsafe fn upgrade(&self)
[src]
pub unsafe fn try_upgrade(&self) -> bool
[src]
impl RawRwLockUpgradeDowngrade for RawRwLock
[src]
pub unsafe fn downgrade_to_upgradable(&self)
[src]
pub unsafe fn downgrade_upgradable(&self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawRwLock
impl Send for RawRwLock
impl Sync for RawRwLock
impl Unpin for RawRwLock
impl UnwindSafe for RawRwLock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,