Struct gstreamer::query::AcceptCaps
source · #[repr(transparent)]pub struct AcceptCaps<T = QueryRef>(T);
Tuple Fields§
§0: T
Implementations§
source§impl AcceptCaps
impl AcceptCaps
source§impl AcceptCaps<Query>
impl AcceptCaps<Query>
pub fn get_mut(&mut self) -> Option<&mut AcceptCaps>
source§impl AcceptCaps
impl AcceptCaps
Methods from Deref<Target = QueryRef>§
pub fn as_ptr(&self) -> *const GstQuery
pub fn as_mut_ptr(&self) -> *mut GstQuery
pub fn copy(&self) -> Query
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn structure(&self) -> Option<&StructureRef>
pub fn structure_mut(&mut self) -> &mut StructureRef
pub fn is_downstream(&self) -> bool
pub fn is_upstream(&self) -> bool
pub fn is_serialized(&self) -> bool
pub fn view(&self) -> QueryView<'_>
pub fn view_mut(&mut self) -> QueryViewMut<'_>
Trait Implementations§
source§impl Borrow<AcceptCaps> for AcceptCaps<Query>
impl Borrow<AcceptCaps> for AcceptCaps<Query>
source§fn borrow(&self) -> &AcceptCaps
fn borrow(&self) -> &AcceptCaps
Immutably borrows from an owned value. Read more
source§impl BorrowMut<AcceptCaps> for AcceptCaps<Query>
impl BorrowMut<AcceptCaps> for AcceptCaps<Query>
source§fn borrow_mut(&mut self) -> &mut AcceptCaps
fn borrow_mut(&mut self) -> &mut AcceptCaps
Mutably borrows from an owned value. Read more
source§impl Debug for AcceptCaps
impl Debug for AcceptCaps
source§impl Debug for AcceptCaps<Query>
impl Debug for AcceptCaps<Query>
source§impl Deref for AcceptCaps
impl Deref for AcceptCaps
source§impl Deref for AcceptCaps<Query>
impl Deref for AcceptCaps<Query>
source§impl DerefMut for AcceptCaps
impl DerefMut for AcceptCaps
source§impl DerefMut for AcceptCaps<Query>
impl DerefMut for AcceptCaps<Query>
source§impl From<AcceptCaps<Query>> for Query
impl From<AcceptCaps<Query>> for Query
source§fn from(concrete: AcceptCaps<Query>) -> Self
fn from(concrete: AcceptCaps<Query>) -> Self
Converts to this type from the input type.
source§impl ToOwned for AcceptCaps
impl ToOwned for AcceptCaps
source§type Owned = AcceptCaps<Query>
type Owned = AcceptCaps<Query>
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 AcceptCaps<T>where
T: Freeze,
impl<T> RefUnwindSafe for AcceptCaps<T>where
T: RefUnwindSafe,
impl<T> Send for AcceptCaps<T>where
T: Send,
impl<T> Sync for AcceptCaps<T>where
T: Sync,
impl<T> Unpin for AcceptCaps<T>where
T: Unpin,
impl<T> UnwindSafe for AcceptCaps<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