Struct gstreamer::query::Selectable
source · pub struct Selectable<T = QueryRef>(/* private fields */);
Implementations§
source§impl Selectable
impl Selectable
source§impl Selectable<Query>
impl Selectable<Query>
pub fn get_mut(&mut self) -> Option<&mut Selectable>
source§impl Selectable
impl Selectable
pub fn selectable(&self) -> bool
pub fn set_selectable(&mut self, selectable: bool)
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<Selectable> for Selectable<Query>
impl Borrow<Selectable> for Selectable<Query>
source§fn borrow(&self) -> &Selectable
fn borrow(&self) -> &Selectable
Immutably borrows from an owned value. Read more
source§impl BorrowMut<Selectable> for Selectable<Query>
impl BorrowMut<Selectable> for Selectable<Query>
source§fn borrow_mut(&mut self) -> &mut Selectable
fn borrow_mut(&mut self) -> &mut Selectable
Mutably borrows from an owned value. Read more
source§impl Debug for Selectable
impl Debug for Selectable
source§impl Debug for Selectable<Query>
impl Debug for Selectable<Query>
source§impl Default for Selectable<Query>
impl Default for Selectable<Query>
source§impl Deref for Selectable
impl Deref for Selectable
source§impl Deref for Selectable<Query>
impl Deref for Selectable<Query>
source§impl DerefMut for Selectable
impl DerefMut for Selectable
source§impl DerefMut for Selectable<Query>
impl DerefMut for Selectable<Query>
source§impl From<Selectable<Query>> for Query
impl From<Selectable<Query>> for Query
source§fn from(concrete: Selectable<Query>) -> Self
fn from(concrete: Selectable<Query>) -> Self
Converts to this type from the input type.
source§impl ToOwned for Selectable
impl ToOwned for Selectable
§type Owned = Selectable<Query>
type Owned = Selectable<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 Selectable<T>where
T: Freeze,
impl<T> RefUnwindSafe for Selectable<T>where
T: RefUnwindSafe,
impl<T> Send for Selectable<T>where
T: Send,
impl<T> Sync for Selectable<T>where
T: Sync,
impl<T> Unpin for Selectable<T>where
T: Unpin,
impl<T> UnwindSafe for Selectable<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