#[repr(C)]pub struct subscription_lock {
pub lock: *mut lock,
pub lock_scope: scope,
}Fields§
§lock: *mut lockThe lock that will be acquired for reading or writing.
lock_scope: scopeWhether the lock is stored in private or shared memory.
Trait Implementations§
Source§impl Clone for subscription_lock
impl Clone for subscription_lock
Source§fn clone(&self) -> subscription_lock
fn clone(&self) -> subscription_lock
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 moreimpl Copy for subscription_lock
Auto Trait Implementations§
impl Freeze for subscription_lock
impl RefUnwindSafe for subscription_lock
impl !Send for subscription_lock
impl !Sync for subscription_lock
impl Unpin for subscription_lock
impl UnwindSafe for subscription_lock
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