Struct gstreamer::event::CustomBoth
source · pub struct CustomBoth<T = EventRef>(/* private fields */);
Implementations§
source§impl CustomBoth<Event>
impl CustomBoth<Event>
pub fn get_mut(&mut self) -> Option<&mut CustomBoth>
Trait Implementations§
source§impl Borrow<CustomBoth> for CustomBoth<Event>
impl Borrow<CustomBoth> for CustomBoth<Event>
source§fn borrow(&self) -> &CustomBoth
fn borrow(&self) -> &CustomBoth
Immutably borrows from an owned value. Read more
source§impl Debug for CustomBoth
impl Debug for CustomBoth
source§impl Debug for CustomBoth<Event>
impl Debug for CustomBoth<Event>
source§impl Deref for CustomBoth
impl Deref for CustomBoth
source§impl Deref for CustomBoth<Event>
impl Deref for CustomBoth<Event>
source§impl From<CustomBoth<Event>> for Event
impl From<CustomBoth<Event>> for Event
source§fn from(concrete: CustomBoth<Event>) -> Self
fn from(concrete: CustomBoth<Event>) -> Self
Converts to this type from the input type.
source§impl ToOwned for CustomBoth
impl ToOwned for CustomBoth
§type Owned = CustomBoth<Event>
type Owned = CustomBoth<Event>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl<T> Freeze for CustomBoth<T>where
T: Freeze,
impl<T> RefUnwindSafe for CustomBoth<T>where
T: RefUnwindSafe,
impl<T> Send for CustomBoth<T>where
T: Send,
impl<T> Sync for CustomBoth<T>where
T: Sync,
impl<T> Unpin for CustomBoth<T>where
T: Unpin,
impl<T> UnwindSafe for CustomBoth<T>where
T: UnwindSafe,
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