Struct gstreamer::ObjectLockGuard
source · pub struct ObjectLockGuard<'a, T: ?Sized> { /* private fields */ }
Implementations§
source§impl<'a, T> ObjectLockGuard<'a, T>
impl<'a, T> ObjectLockGuard<'a, T>
pub fn acquire(obj: &'a T) -> ObjectLockGuard<'a, T>
Trait Implementations§
source§impl<T> AsRef<T> for ObjectLockGuard<'_, T>
impl<T> AsRef<T> for ObjectLockGuard<'_, T>
source§impl<T> Debug for ObjectLockGuard<'_, T>where
T: Debug,
impl<T> Debug for ObjectLockGuard<'_, T>where
T: Debug,
source§impl<T> Deref for ObjectLockGuard<'_, T>
impl<T> Deref for ObjectLockGuard<'_, T>
source§impl<T> Drop for ObjectLockGuard<'_, T>where
T: ?Sized,
impl<T> Drop for ObjectLockGuard<'_, T>where
T: ?Sized,
source§impl<T> PartialEq for ObjectLockGuard<'_, T>where
T: PartialEq,
impl<T> PartialEq for ObjectLockGuard<'_, T>where
T: PartialEq,
impl<T> Eq for ObjectLockGuard<'_, T>where
T: Eq,
Auto Trait Implementations§
impl<'a, T> Freeze for ObjectLockGuard<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for ObjectLockGuard<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> !Send for ObjectLockGuard<'a, T>
impl<'a, T> !Sync for ObjectLockGuard<'a, T>
impl<'a, T> Unpin for ObjectLockGuard<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for ObjectLockGuard<'a, T>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more